commit | bb2f3ff7a8f0c3565ccc1946dba7e09a3f7dc209 | [log] [tgz] |
---|---|---|
author | Steve Dower <steve.dower@python.org> | Mon May 03 13:06:36 2021 |
committer | GitHub <noreply@github.com> | Mon May 03 13:06:36 2021 |
tree | 6fea32214cc39992ce43a29309a1a1076b804ae4 | |
parent | 1536342c4491ffc70adeb540a04381e90ea623d7 [diff] |
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