Message296808
To make the behaviour more consistent in 3.7, I'd be more inclined to go in the other direction: make locals() return a truly independent snapshot when used in a function, rather than sharing a single snapshot between all locals() calls.
Shared snapshots that may potentially be written back to the frame locals would then be unique to trace functions, rather than being a feature of function level locals() calls in general. |
|
Date |
User |
Action |
Args |
2017-06-25 06:28:19 | ncoghlan | set | recipients:
+ ncoghlan, arigo, belopolsky, benjamin.peterson, njs, Mark.Shannon, yselivanov, xgdomingo |
2017-06-25 06:28:19 | ncoghlan | set | messageid: <1498372099.11.0.914241119106.issue30744@psf.upfronthosting.co.za> |
2017-06-25 06:28:19 | ncoghlan | link | issue30744 messages |
2017-06-25 06:28:18 | ncoghlan | create | |
|