[issue36692] Unexpected stderr output from test_sys_settrace
hai shi
report at bugs.python.org
Thu Jul 25 09:24:50 EDT 2019
hai shi <shihai1991 at 126.com> added the comment:
It looks like setstrace function trigger this codeline: https://github.com/python/cpython/blob/master/Modules/_asynciomodule.c#L2618
Looks we can use set_exception_handler() to catch this error, but i am not sure it is worth catching this error through adding a extended exception hander.
so, Nick, what's your thought?
REF: https://github.com/python/cpython/blob/master/Lib/asyncio/base_events.py#L1627
----------
nosy: +shihai1991
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36692>
_______________________________________
More information about the Python-bugs-list
mailing list