commit | 0c2e4088334906bd883caabe3573bba3f82d0819 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Jan 22 00:17:41 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Jan 22 00:17:41 2015 +0100 |
tree | 69710444779e4d6d97d57a113f70f6b23b7bb5d8 | |
parent | d0a28dee78d099fcadc71147cba4affb6efa0c97 [diff] |
asyncio: BaseEventLoop._create_connection_transport() catchs any exception, not only Exception
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 739296b..1ceeb2d 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py
@@ -636,7 +636,7 @@ try: yield from waiter - except Exception: + except: transport.close() raise