summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Security/2021-06-29-23-40-22.bpo-41180.uTWHv_.rst
blob: 88b70c7cea2610fe390cf1ffe5aa564dfa0272c6 (plain)
1
2
3
4
5
Add auditing events to the :mod:`marshal` module, and stop raising
``code.__init__`` events for every unmarshalled code object. Directly
instantiated code objects will continue to raise an event, and audit event
handlers should inspect or collect the raw marshal data. This reduces a
significant performance overhead when loading from ``.pyc`` files.