Skip to content

Conversation

@zooba
Copy link
Member

@zooba zooba commented Apr 30, 2021

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

https://bugs.python.org/issue42800

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
@zooba
Copy link
Member Author

zooba commented May 3, 2021

Did a bad merge on some of the documentation files somehow... will try and fix it up today.

@zooba zooba removed the DO-NOT-MERGE label May 3, 2021
@zooba zooba merged commit bb2f3ff into python:3.9 May 3, 2021
@miss-islington
Copy link
Contributor

Thanks @zooba for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@zooba zooba deleted the bpo-42800-3.9 branch May 3, 2021 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants