[Python-ideas] with-statement syntactic quirk

Benjamin Peterson benjamin at python.org
Wed Oct 31 18:04:40 CET 2012


Nick Coghlan <ncoghlan at ...> writes:
> I do think it makes sense to change the semantics of this, but I ain't
> volunteering to figure out the necessary Grammar changes :P

It would not be difficult to special in AST construction. We do this for some
other things already.






More information about the Python-ideas mailing list