[issue42800] Traceback objects allow accessing frame objects without triggering audit hooks
Ryan Hileman
report at bugs.python.org
Fri Jan 8 20:26:20 EST 2021
Ryan Hileman <lunixbochs at gmail.com> added the comment:
traceback's `tb_code` attribute also allows you to bypass the `object.__getattr__` audit event for `__code__`.
Perhaps accessing a traceback object's `tb_code` and `tb_frame` should both raise an `object.__getattr__` event?
----------
nosy: +lunixbochs2
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42800>
_______________________________________
More information about the Python-bugs-list
mailing list