[Python-ideas] explicitation lines in python ?

Nick Coghlan ncoghlan at gmail.com
Sat Jun 26 05:14:31 CEST 2010


> I suspect this has been shot down before, though.

Not so much shot down, as "never found a syntax and semantics that
were sufficiently clear".

Looking up 'statement local namespaces' for Python brings up some old
discussions of the idea:
http://www.mail-archive.com/python-list@python.org/msg07034.html

(the 'new' compiler in that message is the AST compiler adopted in
Python 2.5. The 'nonlocal' keyword now gives us more options in
deciding how to handle assignment statements)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list