summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorItamar Ostricher <itamarost@gmail.com>2023-05-06 15:15:27 (GMT)
committerGitHub <noreply@github.com>2023-05-06 15:15:27 (GMT)
commit263abd333d18b8825cf6d68a5051818826dbffce (patch)
tree9f6eaf466c5bc568ba3d85ba27532c1acc50a3e8 /Misc
parent96f95df48e41ccf984de1ee1312c81809fd9e876 (diff)
downloadcpython-263abd333d18b8825cf6d68a5051818826dbffce.zip
cpython-263abd333d18b8825cf6d68a5051818826dbffce.tar.gz
cpython-263abd333d18b8825cf6d68a5051818826dbffce.tar.bz2
gh-104144: Optimize gather to finish eagerly when all futures complete eagerly (#104138)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-05-03-16-50-24.gh-issue-104144.yNkjL8.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-05-03-16-50-24.gh-issue-104144.yNkjL8.rst b/Misc/NEWS.d/next/Library/2023-05-03-16-50-24.gh-issue-104144.yNkjL8.rst
new file mode 100644
index 0000000..b975d48
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-05-03-16-50-24.gh-issue-104144.yNkjL8.rst
@@ -0,0 +1,3 @@
+Optimize :func:`asyncio.gather` when using :func:`asyncio.eager_task_factory`
+to complete eagerly if all fututres completed eagerly.
+Avoid scheduling done callbacks for futures that complete eagerly.