mirror of
https://github.com/python/cpython.git
synced 2025-11-02 06:31:29 +00:00
asyncio: BaseEventLoop._create_connection_transport() catchs any exception, not
only Exception
This commit is contained in:
parent
d0a28dee78
commit
0c2e408833
1 changed files with 1 additions and 1 deletions
|
|
@ -636,7 +636,7 @@ def _create_connection_transport(self, sock, protocol_factory, ssl,
|
||||||
|
|
||||||
try:
|
try:
|
||||||
yield from waiter
|
yield from waiter
|
||||||
except Exception:
|
except:
|
||||||
transport.close()
|
transport.close()
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue