Message223447
The symbol table's syntax error about unqualified exec is missing the word "because".
>>> def foo():
... exec "a = 1"
... def bar():
... print a
...
File "<stdin>", line 2
SyntaxError: unqualified exec is not allowed in function 'foo' it contains a nested function with free variables |
|
Date |
User |
Action |
Args |
2014-07-18 22:45:50 | akaptur | set | recipients:
+ akaptur, docs@python |
2014-07-18 22:45:49 | akaptur | set | messageid: <1405723549.99.0.479599106625.issue22008@psf.upfronthosting.co.za> |
2014-07-18 22:45:49 | akaptur | link | issue22008 messages |
2014-07-18 22:45:49 | akaptur | create | |
|