Message338844
I test on 3.5 and 3.8 running not in an func and I don't have the problem:
Python 3.8.0a2+ (heads/bpo-36287:ba8f342623, Mar 25 2019, 21:57:16)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 'bar'
>>> b = 42
>>> c = a + ' = c'
>>> c
'bar = c'
>>> exec(c)
>>> 'bar' in locals()
True
>>> print(locals()['bar'])
bar = c
>>> print(bar)
bar = c
>>> print("'bar' OK:", bar)
'bar' OK: bar = c |
|
Date |
User |
Action |
Args |
2019-03-26 01:05:01 | eamanu | set | recipients:
+ eamanu, paul.moore, tim.golden, zach.ware, steve.dower, schperplata |
2019-03-26 01:05:01 | eamanu | set | messageid: <1553562301.87.0.336757991122.issue36426@roundup.psfhosted.org> |
2019-03-26 01:05:01 | eamanu | link | issue36426 messages |
2019-03-26 01:05:01 | eamanu | create | |
|