[issue39182] sys.addaudithook(hook) loops indefinitely on mismatch for hook
Terry J. Reedy
report at bugs.python.org
Sat Jan 4 01:44:18 EST 2020
Terry J. Reedy <tjreedy at udel.edu> added the comment:
> I think this is specific to the interactive prompt.
In IDLE, which simulates interactive mode with repeated 'exec(user_code, namespace)', no error is printed, let alone a loop.
>>> import sys
>>> sys.addaudithook(0)
>>>
----------
nosy: +terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39182>
_______________________________________
More information about the Python-bugs-list
mailing list