summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2020-07-23 19:45:08 (GMT)
committerGitHub <noreply@github.com>2020-07-23 19:45:08 (GMT)
commit0dd98c2d00a75efbec19c2ed942923981bc06683 (patch)
tree38c7e97824d54b943d64befd671660ec2eac52bb /Misc
parent680254a8dc64e3ada00f88a7c42d41eb02108353 (diff)
downloadcpython-0dd98c2d00a75efbec19c2ed942923981bc06683.zip
cpython-0dd98c2d00a75efbec19c2ed942923981bc06683.tar.gz
cpython-0dd98c2d00a75efbec19c2ed942923981bc06683.tar.bz2
bpo-41317: Remove reader on cancellation in asyncio.loop.sock_accept() (#21595)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-07-23-01-18-34.bpo-41317.O17Z6x.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-07-23-01-18-34.bpo-41317.O17Z6x.rst b/Misc/NEWS.d/next/Library/2020-07-23-01-18-34.bpo-41317.O17Z6x.rst
new file mode 100644
index 0000000..1af985e
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-07-23-01-18-34.bpo-41317.O17Z6x.rst
@@ -0,0 +1,2 @@
+Use add_done_callback() in asyncio.loop.sock_accept() to unsubscribe reader
+early on cancellation.