https://github.com/python/cpython
Revision 9a2c2a9ec3140b6c54c9ef9d994311f114128ee3 authored by Ryan Hileman on 29 April 2021, 23:15:55 UTC, committed by GitHub on 29 April 2021, 23:15:55 UTC
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.
1 parent 088a15c
History
Tip revision: 9a2c2a9ec3140b6c54c9ef9d994311f114128ee3 authored by Ryan Hileman on 29 April 2021, 23:15:55 UTC
bpo-42800: add audit hooks for f_code and tb_frame (GH-24182)
Tip revision: 9a2c2a9
File Mode Size
NEWS.d
ACKS -rw-r--r-- 28.6 KB
HISTORY -rw-r--r-- 1.3 MB
Porting -rw-r--r-- 63 bytes
README -rw-r--r-- 1.4 KB
README.AIX -rw-r--r-- 4.6 KB
README.coverity -rw-r--r-- 845 bytes
README.valgrind -rw-r--r-- 4.8 KB
SpecialBuilds.txt -rw-r--r-- 4.0 KB
coverity_model.c -rw-r--r-- 4.0 KB
gdbinit -rw-r--r-- 4.8 KB
indent.pro -rw-r--r-- 557 bytes
python-config.in -rw-r--r-- 2.0 KB
python-config.sh.in -rw-r--r-- 2.9 KB
python-embed.pc.in -rw-r--r-- 310 bytes
python-wing3.wpr -rwxr-xr-x 555 bytes
python-wing4.wpr -rwxr-xr-x 835 bytes
python-wing5.wpr -rwxr-xr-x 835 bytes
python.man -rw-r--r-- 17.8 KB
python.pc.in -rw-r--r-- 268 bytes
requirements-test.txt -rw-r--r-- 15 bytes
stable_abi.txt -rw-r--r-- 45.1 KB
svnmap.txt -rw-r--r-- 4.1 MB
valgrind-python.supp -rw-r--r-- 8.6 KB
vgrindefs -rw-r--r-- 500 bytes

README

back to top