[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

Tom Christie report at bugs.python.org
Thu May 30 10:00:41 EDT 2019


Tom Christie <tom at tomchristie.com> added the comment:

Right, and `requests` *does* provide both those styles.

The point more being that *not* having closed the transport at the point of exit shouldn't end up raising a hard error. It doesn't raise errors in sync-land, and it shouldn't do so in async-land.

Similarly, we wouldn't expect an open file resource to cause errors to be raised at the point of exit.

----------

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


More information about the Python-bugs-list mailing list