Message396757
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! |
|
Date |
User |
Action |
Args |
2021-06-29 22:20:13 | steve.dower | set | recipients:
+ steve.dower, gvanrossum, miss-islington, tkmk |
2021-06-29 22:20:12 | steve.dower | set | messageid: <1625005212.97.0.04162412741.issue41180@roundup.psfhosted.org> |
2021-06-29 22:20:12 | steve.dower | link | issue41180 messages |
2021-06-29 22:20:12 | steve.dower | create | |
|