On Thu, Oct 2, 2008 at 5:45 PM, Lisandro Dalcin <[EMAIL PROTECTED]> wrote:
> However, Cython-the-compiler should not fail with syntax error if you
> do 'cdef set s', right? This indicates that builtin module is being
> used in the Cython codebase, and that is a potential source of
> problem. In sort, I believe if you run Cython with python2.3, the
> generated source should be valid Py3 C code, even if something like
> 'set' is being used. I'm missing something here?

To be clear the "syntax error on cdef set s" was introduced by *my*
code changes: I just removed set and frozenset whenever
hasattr(types, 'GetSetDescriptorType') was False (in Builtin.py). This
can be readily corrected and will not break anything. Of course if you
 import this with py2.3, you'll get a missing symbol error. Sorry if
there was any confusion about this.

didier

>
>
>
> --
> 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
>
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to