On Thu, Oct 2, 2008 at 5:58 PM, Dag Sverre Seljebotn
<[EMAIL PROTECTED]> wrote:
> My five cents: I'm -1 on making emulating later Python versions in
> earlier ones in most cases, and definitely this one. We are developing
> Cython for the present and future, and Python 2.3 is starting to belong
> to the past.

Me to, -1 on this...

> The Cython compiler should run under Python 2.3 and create Python
> 2.3-compatible code, but that is different from backporting builtins
> like "set".

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?



-- 
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