[issue5578] unqualified exec in class body

Terry J. Reedy report at bugs.python.org
Tue Aug 3 21:51:34 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Is there any currently relevant discrepancy between doc and behavior claimed in this issue. As far as I can see, the 2.7 docs for exec and def make no mention of exec being prohibited in def, let alone class statements. Ditto for exec() in 3.x. Anything earlier is out-of-date.

----------
nosy: +tjreedy
status: open -> pending
versions:  -Python 2.4, Python 2.5, Python 2.6

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


More information about the Python-bugs-list mailing list