]> granicus.if.org Git - python/commit
asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue...
authorGuido van Rossum <guido@python.org>
Thu, 13 Feb 2014 01:58:19 +0000 (17:58 -0800)
committerGuido van Rossum <guido@python.org>
Thu, 13 Feb 2014 01:58:19 +0000 (17:58 -0800)
commit2303fecedcfbdec16999e054e401dfad3a13fc05
treea52770710e7c945da52045702767c41edfa35a7f
parentb13177885f05f44f859e4bccfc0b551f1771a88b
asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue #20566.
Lib/asyncio/tasks.py
Lib/test/test_asyncio/test_tasks.py