[issue7423] nested generator expression produces strange results

Christopher King report at bugs.python.org
Tue Feb 26 21:26:01 CET 2013


Christopher King added the comment:

Quote from Guido:

"""In general the value of every free variable used anywhere 
except in the outer expression should be captured; [...] This 
should give the least surprising semantics in a variaty of use 
cases."""

Source: http://bugs.python.org/issue872326#msg45190

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7423>
_______________________________________


More information about the Python-bugs-list mailing list