On 17 February 2010 10:29, Stefan Behnel <[email protected]> wrote: > > You'd do > > from cython import set > > in Parsing.py. Cython would then consider that the true 'set' builtin at > compile time, regardless of the Python environment, whereas an uncompiled > Cython would simply let Python import 'set' from Cython's Shadow module and > be happy. >
OK. But where should I hack to make "from cython import set" to be ignored (or, i.o.w, to use the builtin) in the generated C code? -- Lisandro Dalcin --------------- 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
