This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author njs
Recipients Mark.Shannon, arigo, belopolsky, benjamin.peterson, ncoghlan, njs, xgdomingo, yselivanov
Date 2017-06-25.06:42:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498372923.02.0.107531529311.issue30744@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2017-06-25 06:42:03njssetrecipients: + njs, arigo, ncoghlan, belopolsky, benjamin.peterson, Mark.Shannon, yselivanov, xgdomingo
2017-06-25 06:42:03njssetmessageid: <1498372923.02.0.107531529311.issue30744@psf.upfronthosting.co.za>
2017-06-25 06:42:03njslinkissue30744 messages
2017-06-25 06:42:02njscreate