[docs] [issue13557] exec of list comprehension fails on NameError

Florent Xicluna report at bugs.python.org
Sat Jul 7 17:25:43 CEST 2012


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

Issue #11796 marked as duplicate of this one.

However the issue described in #11796 does not involve exec/execfile.
It is about scopes for list comprehension like this one.

Another doc patch should probably be written to cover the case described in #11796 too.

----------

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


More information about the docs mailing list