summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-16 12:32:01 (GMT)
committerGitHub <noreply@github.com>2021-04-16 12:32:01 (GMT)
commit75ec103b3adbb7c619a0e22fa60f3d34c5a9e603 (patch)
treef5659351ffe9e214978409fec2b8008b402c2409 /Misc
parent471870fc504b0d69c767b188f180b17248be6998 (diff)
downloadcpython-75ec103b3adbb7c619a0e22fa60f3d34c5a9e603.zip
cpython-75ec103b3adbb7c619a0e22fa60f3d34c5a9e603.tar.gz
cpython-75ec103b3adbb7c619a0e22fa60f3d34c5a9e603.tar.bz2
bpo-43842: Fix race condition in test_logging SMTP test (GH-25436)
Fix a race condition in the SMTP test of test_logging. Don't close a file descriptor (socket) from a different thread while asyncore.loop() is polling the file descriptor.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2021-04-16-14-07-40.bpo-43842.w60GAH.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2021-04-16-14-07-40.bpo-43842.w60GAH.rst b/Misc/NEWS.d/next/Tests/2021-04-16-14-07-40.bpo-43842.w60GAH.rst
new file mode 100644
index 0000000..5b4a120
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2021-04-16-14-07-40.bpo-43842.w60GAH.rst
@@ -0,0 +1,4 @@
+Fix a race condition in the SMTP test of test_logging. Don't close a file
+descriptor (socket) from a different thread while asyncore.loop() is polling
+the file descriptor.
+Patch by Victor Stinner.