[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-05-22 Thread Jason Haydaman
Change by Jason Haydaman <jhayda...@sightlineinnovation.com>: -- keywords: +patch pull_requests: +6690 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-04-06 Thread Jason Haydaman
Jason Haydaman <jhayda...@sightlineinnovation.com> added the comment: May also be worth pointing out that even in the case of only calling set_result once, _done_callbacks still has _chain_future in it: import asyncio import concurrent.futures f = concurrent.futures.Future() a

[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-04-06 Thread Jason Haydaman
New submission from Jason Haydaman <jhayda...@sightlineinnovation.com>: When the concurrent Future wrapped by asyncio.wrap_future has set_result or set_exception called multiple times, I get the following traceback: Traceback (most recent call last): File "/usr/local/lib/python