This is just to let you know that the with statement is now supported in 
my branch (cython-dagss). One needs to do "from __future__ import 
with_statement" in order to use it; I'm not sure how this will behave in 
Py3 (I just copied Stefan's mechanism for unicode literals...).

Also I don't make "as" a reserved word even if "with" is turned on. This 
is different from Python however it doesn't mean that we are less 
compatible with any kind of source code, only that Cython will accept 
stuff that Python doesn't. (I didn't find the added complexity worth it; 
thoughts? I suppose it is just a matter of having Parsing.py modify the 
list of reserved in the scanner at the right time....)

Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to