[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.
Andrew Svetlov
report at bugs.python.org
Wed May 29 09:13:55 EDT 2019
Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:
I would say that if requests a designed from scratch more idiomatic way could be
with requests.Session() as session:
session.get('https://example.com/')
or
session = requests.Session()
session.get('https://example.com/')
session.close()
Like the recommended way to handle files.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36709>
_______________________________________
More information about the Python-bugs-list
mailing list