hai shi <shihai1...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue36692> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com