SIGN IN SIGN UP

bpo-42800: add audit hooks for f_code and tb_frame (GH-24182)

Accessing the following attributes will now fire PEP 578 style audit hooks as ("object.__getattr__", obj, name):
* PyTracebackObject: tb_frame
* PyFrameObject: f_code
* PyGenObject: gi_code, gi_frame
* PyCoroObject: cr_code, cr_frame
* PyAsyncGenObject: ag_code, ag_frame
Add an AUDIT_READ attribute flag aliased to READ_RESTRICTED.
Update obsolete flag documentation.
R
Ryan Hileman committed
9a2c2a9ec3140b6c54c9ef9d994311f114128ee3
Parent: 088a15c
Committed by GitHub <noreply@github.com> on 4/29/2021, 11:15:55 PM