Not sure if allowing redefinitions is a good idea, but at least
something like a 'forward declaration' have to be valid. If not, the
example I posted would be unworkable...

On 5/13/08, Robert Bradshaw <[EMAIL PROTECTED]> wrote:
> On May 12, 2008, at 8:49 PM, Greg Ewing wrote:
>
>  > Lisandro Dalcin wrote:
>  >> That's what Robert warned you about!! Indeed, you have two
>  >> definitions
>  >> of plugData:
>  >
>  > Although there appears to be a compiler bug there somewhere,
>  > as it *should* have complained about a redefinition of
>  > plugData.
>
>
> IIRC, something like this was disabled way, way back with SageX. I
>  can't recall the reason but it allowed for "redefinition" of certain
>  functions. Yep:
>
>  http://hg.cython.org/cython/rev/5e793a8b4ca0
>
>  In retrospect, I'm not sure why this is a good idea. (Was it due to
>  PyObject* vs object?)
>
>
>  - Robert
>
>
>  _______________________________________________
>  Cython-dev mailing list
>  [email protected]
>  http://codespeak.net/mailman/listinfo/cython-dev
>


-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to