Author tkmk
Recipients steve.dower, tkmk
Date 2020-07-01.06:58:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593586712.19.0.6550600191.issue41180@roundup.psfhosted.org>
In-reply-to
Content
While `code.__new__` is being audited, using `marshal.loads` to create a code object will trigger no events. Therefore, either `marshal.load(s)` event itself should be audited, or `code.__new__` should be triggered when marshal type is TYPE_CODE.

Considering that importing from a pyc file also relys on unmarshalling code objects, and they have already been audited as `import`, I'm also wondering if auditing twice should be avoided for performance.
History
Date User Action Args
2020-07-01 06:58:32tkmksetrecipients: + tkmk, steve.dower
2020-07-01 06:58:32tkmksetmessageid: <1593586712.19.0.6550600191.issue41180@roundup.psfhosted.org>
2020-07-01 06:58:32tkmklinkissue41180 messages
2020-07-01 06:58:31tkmkcreate