[issue47192] sys._getframe audit event has frame as argument in 3.8-3.10
Steve Dower
report at bugs.python.org
Sat Apr 2 09:14:53 EDT 2022
Steve Dower <steve.dower at python.org> added the comment:
This should be fixed in the docs and also in 3.11. Now that we've shipped releases that include the frame, we should keep doing it.
If it's impossible to get a frame object in 3.11 (because it would deoptimize all the work that's been done there), it should pass None. Changing the value of the argument is fine, but changing the schema is not.
----------
versions: +Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47192>
_______________________________________
More information about the Python-bugs-list
mailing list