]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23353, asyncio: Workaround CPython bug #23353
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 2 Feb 2015 17:36:31 +0000 (18:36 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 2 Feb 2015 17:36:31 +0000 (18:36 +0100)
commit5d44c08f1c18583d568283170454bab0c11f8257
tree3f8ce7f843bc3589aebdb2cc569f8a55202d3dab
parent7a66fc22ad62563d0907c2fc91229656acfa0dd6
Issue #23353, asyncio: Workaround CPython bug #23353

Don't use yield/yield-from in an except block of a generator. Store the
exception and handle it outside the except block.
Lib/asyncio/test_utils.py
Lib/asyncio/unix_events.py
Lib/asyncio/windows_events.py