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 steve.dower
Recipients Mark.Shannon, ammar2, christian.heimes, lunixbochs2, steve.dower, vstinner
Date 2021-01-22.20:26:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611347190.05.0.706165961533.issue42800@roundup.psfhosted.org>
In-reply-to
Content
I'm fine with either approach, though adding the READ_RESTRICTED flag would also be fine.

The audit trailing leading to a bypass is very important, and traversing frames to find functions in their locals or closures is very useful.

This is nothing like a traditional sandbox, which we can't do because there are (few) legitimate uses and (many) existing users of our internal interpreter state inspection/mutation APIs. This is about tracing internal events - hence _audit_ events - so we want them for all equivalent ways to achieve the same internal inspection/mutation.
History
Date User Action Args
2021-01-22 20:26:30steve.dowersetrecipients: + steve.dower, vstinner, christian.heimes, Mark.Shannon, ammar2, lunixbochs2
2021-01-22 20:26:30steve.dowersetmessageid: <1611347190.05.0.706165961533.issue42800@roundup.psfhosted.org>
2021-01-22 20:26:30steve.dowerlinkissue42800 messages
2021-01-22 20:26:29steve.dowercreate