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 Mark.Shannon
Recipients Mark.Shannon, fabioz, ncoghlan, python-dev, vstinner
Date 2021-01-20.11:01:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't think so.
Tracing is already somewhat fragile, see
Making it more complex is likely to add more bugs.

PEP 558 should help, as f_locals becomes a proxy. 
There are some minor issues with PEP 558 (I'm not convinced that it is completely robust), but it should fix this issue.

Ultimately, what we need is a decent debugger API, something along the lines of the JVMTI.
Date User Action Args
2021-01-20 11:01:17Mark.Shannonsetrecipients: + Mark.Shannon, ncoghlan, vstinner, fabioz, python-dev
2021-01-20 11:01:17Mark.Shannonsetmessageid: <>
2021-01-20 11:01:17Mark.Shannonlinkissue42197 messages
2021-01-20 11:01:17Mark.Shannoncreate