Message304753
No, as locals() never returns the write-through proxy in the latest version of the PEP - it only ever returns the dynamic snapshot namespace (retrieving it from the proxy if necessary).
To get access to the write-through proxy in Python level code, you have to access frame.f_locals directly (which trace functions will do by necessity, since that's the only way they have to get at the function locals). |
|
| Date |
User |
Action |
Args |
| 2017-10-22 15:03:22 | ncoghlan | set | recipients:
+ ncoghlan, arigo, belopolsky, benjamin.peterson, njs, xdegaye, Mark.Shannon, yselivanov, xgdomingo |
| 2017-10-22 15:03:22 | ncoghlan | set | messageid: <[email protected]> |
| 2017-10-22 15:03:22 | ncoghlan | link | issue30744 messages |
| 2017-10-22 15:03:22 | ncoghlan | create | |
|