[Cython] Prototype patch for closures/inner functions
Dag Sverre Seljebotn
dagss at student.matnat.uio.no
Wed Apr 9 11:55:34 CEST 2008
>
> $ cat <<END > test.sh
> python cython.py \
> -Tafter_parse:Cython.Compiler.Transforms.InnerFunctions.FunctionSymbols
> \
> -Tafter_parse:Cython.Compiler.Transforms.InnerFunctions.InnerFunctions \
>
> -Tafter_analyse_function:Cython.Compiler.Transforms.InnerFunctions.MethodTableIndex
> \
> test.pyx
> gcc -Wall -shared -fPIC -I/usr/include/python2.5 -o test.so test.c
> END
(Line-wrap messed it up). Also, to be completely clear, when it is
finished it will definitely self-register, no arguments should be needed :-)
--
Dag Sverre
More information about the Cython-dev
mailing list