[issue30064] BaseSelectorEventLoop.sock_{recv, sendall}() don't remove their callbacks when canceled
Joongi Kim
report at bugs.python.org
Tue May 12 01:13:01 EDT 2020
Joongi Kim <me at daybreaker.info> added the comment:
I just encountered this issue when doing "sys.exit(1)" on a Click-based CLI program that internally uses asyncio event loop via wrapped via a context manager, on Python 3.8.2.
Using uvloop or adding "time.sleep(0.1)" before "sys.exit(1)" removes the error.
----------
nosy: +achimnol
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30064>
_______________________________________
More information about the Python-bugs-list
mailing list