Message296810
Interesting idea! I'm not sure I fully understand how it would work though.
What would you do for the frames that don't use the fast array, and where locals() currently returns the "real" namespace?
How are you imagining that the trace function writeback would be implemented? Some sort of thread-local flag saying "we're inside a trace function for frame XX" that causes locals() and f_locals to switch to returning a "real" namespace object? |
|
Date |
User |
Action |
Args |
2017-06-25 06:42:03 | njs | set | recipients:
+ njs, arigo, ncoghlan, belopolsky, benjamin.peterson, Mark.Shannon, yselivanov, xgdomingo |
2017-06-25 06:42:03 | njs | set | messageid: <1498372923.02.0.107531529311.issue30744@psf.upfronthosting.co.za> |
2017-06-25 06:42:03 | njs | link | issue30744 messages |
2017-06-25 06:42:02 | njs | create | |
|