Message372733
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. |
|
Date |
User |
Action |
Args |
2020-07-01 06:58:32 | tkmk | set | recipients:
+ tkmk, steve.dower |
2020-07-01 06:58:32 | tkmk | set | messageid: <1593586712.19.0.6550600191.issue41180@roundup.psfhosted.org> |
2020-07-01 06:58:32 | tkmk | link | issue41180 messages |
2020-07-01 06:58:31 | tkmk | create | |
|