Message233096
Python 2.7.8 (v2.7.8:ee879c0ffa11, Jun 29 2014, 21:07:35)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> def outer():
... def inner(arg):
... len(arg)
... exec('', {})
...
File "<stdin>", line 4
SyntaxError: unqualified exec is not allowed in function 'outer' it contains a nested function with free variables
>>>
>>> def outer():
... def inner(arg):
... len(arg)
... exec '' in {}
...
>>> |
|
Date |
User |
Action |
Args |
2014-12-25 17:05:06 | johnf | set | recipients:
+ johnf |
2014-12-25 17:05:06 | johnf | set | messageid: <1419527106.51.0.659290194447.issue23113@psf.upfronthosting.co.za> |
2014-12-25 17:05:06 | johnf | link | issue23113 messages |
2014-12-25 17:05:05 | johnf | create | |
|