diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-05-03 13:24:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 13:24:05 (GMT) |
commit | 8ab272f0f3dd7da44f8e21d2a5a39c2ab39490d6 (patch) | |
tree | 29a8e6da76f11c3dba0ace178b7b4372d89a27d6 /Lib/test/test_httplib.py | |
parent | 10665ac37313560fe87460cf4a5c26677049bf62 (diff) | |
download | cpython-8ab272f0f3dd7da44f8e21d2a5a39c2ab39490d6.zip cpython-8ab272f0f3dd7da44f8e21d2a5a39c2ab39490d6.tar.gz cpython-8ab272f0f3dd7da44f8e21d2a5a39c2ab39490d6.tar.bz2 |
bpo-42800: Add audit events 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
(cherry picked from commit bb2f3ff7a8f0c3565ccc1946dba7e09a3f7dc209)
Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'Lib/test/test_httplib.py')
0 files changed, 0 insertions, 0 deletions