Message234076
What about instead of
'''
Whether changes to one are reflected in the other after the call returns is undefined; additionally, the dictionary may change unpredictably after the call, and how it does is implementation-specific.
'''
substitue this wording:
'''
Whether changes to one are reflected in the other after the call returns, and when such updates occur, is undefined and implementation-specific.
'''
The old wording seems under-specified. It would allow a function call, garbage collection, etc, to clobber the dictionary, say overwriting with another function’s locals(), before you get a chance to work with the dictionary. |
|
Date |
User |
Action |
Args |
2015-01-15 14:25:02 | martin.panter | set | recipients:
+ martin.panter, georg.brandl, terry.reedy, amaury.forgeotdarc, ncoghlan, techtonik, nedbat, bgailer, eric.araujo, r.david.murray, flox, docs@python, ethan.furman, eric.snow |
2015-01-15 14:25:02 | martin.panter | set | messageid: <1421331902.58.0.0662711313709.issue17546@psf.upfronthosting.co.za> |
2015-01-15 14:25:02 | martin.panter | link | issue17546 messages |
2015-01-15 14:25:02 | martin.panter | create | |
|