Kay Hayen, 22.07.2010 11:02: >> See http://wiki.cython.org/pure >> >> It's not as developed as we'd like it to be, but at least it is a proof >> that we have the same aims that you have :-) And any help in this area >> in general is very much appreciated; it wouldn't need to be using the >> current syntax if something else is much better. > > it looks quite nice, except that it hardcodes a name. Is there a Python > cython module with Python source code that keeps code working with CPython?
Sure. >>> But as I said, it will be merely "correct" code generated. It won't be >>> actually better code yet. But it will e.g. demonstrate a way to easily >>> handle generator expressions and functions, something I believe Cython >>> still doesn't do? >>> >> Closures (inner functions) are present in the next release (0.13). >> Generator expressions are expected to land sometimes in the next half >> year to a year, I think, though always take such estimates with a grain >> of salt. > > Well yes, I am adequately proud that my compiler does not only do > closures, but generator expressions and generator functions as closures, > classes with closures, and meta classes. Yep, class closures are another long-standing open issue in Cython, and meta-classes aren't there, either. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
