[issue42466] asyncio loop.getaddrinfo raises RuntimeError

Andrew Svetlov report at bugs.python.org
Thu Nov 26 08:18:28 EST 2020


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Because it did work in a gray area.
The finalization logic has slightly changed, some tricks that were working before now fails.
Sure, other undocumented tricks start working :)

The rule of thumb: please stop and close the asyncio loop before exiting the program. This rule allows for avoiding situations like this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42466>
_______________________________________


More information about the Python-bugs-list mailing list