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 gvanrossum, miss-islington, steve.dower, tkmk
Date 2021-06-29.22:20:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625005212.97.0.04162412741.issue41180@roundup.psfhosted.org>
In-reply-to
Content
I'm going to revert this and replace it with a marshal.loads (and dumps) event instead.

The performance impact on loading .pyc files is too great, as it triggers the hook for each function. Without severely modifying importlib we can't bypass the call that's accessible to Python code, and the important part to detect is marshal calls outside of regular imports.

And wanted to mention that Yunfan Zhan suggested adding these events originally and I chose to go the other way. So my bad, and let's get it right now!
History
Date User Action Args
2021-06-29 22:20:13steve.dowersetrecipients: + steve.dower, gvanrossum, miss-islington, tkmk
2021-06-29 22:20:12steve.dowersetmessageid: <1625005212.97.0.04162412741.issue41180@roundup.psfhosted.org>
2021-06-29 22:20:12steve.dowerlinkissue41180 messages
2021-06-29 22:20:12steve.dowercreate