◐ Shell
clean mode source ↗

bpo-43842: Fix race condition in test_logging SMTP test by vstinner · Pull Request #25436 · python/cpython

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.

vstinner added a commit that referenced this pull request

Apr 16, 2021
…H-25437)

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.

(cherry picked from commit 75ec103)

vstinner added a commit that referenced this pull request

Apr 16, 2021
…H-25437) (GH-25440)

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.

(cherry picked from commit 75ec103)
(cherry picked from commit e1903e1)