Alan G Isaac wrote:
The example give at http://docs.python.org/reference/executionmodel.html#naming-and-binding remains unchanged at http://docs.python.org/3.0/reference/executionmodel.html#naming-and-binding but the change to Python 3 list comprehensions now means the example will fail even with list comprehension syntax. Should the example be changed to make that clear?
http://bugs.python.org/issue5106 -- http://mail.python.org/mailman/listinfo/python-list