]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-109370: Fix unexpected traceback output in test_concurrent_futures (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 26 Sep 2023 08:21:09 +0000 (01:21 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2023 08:21:09 +0000 (11:21 +0300)
commit8fef834f055d6c6311d022eba2a8a22b4348fa95
tree8f3a2428e78adec515eaa54f4d8bdfce4cede70e
parent97f7e9d5d6c46106e82ca374f98239c549ef0ed8
[3.11] gh-109370: Fix unexpected traceback output in test_concurrent_futures (GH-109780) (GH-109882)

Follow-up of gh-107219.

* Only close the connection writer on Windows.
* Also use existing constant _winapi.ERROR_OPERATION_ABORTED instead of
  WSA_OPERATION_ABORTED.
(cherry picked from commit 0b4e090422db5f959184353d53552d1675f74212)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/concurrent/futures/process.py
Lib/multiprocessing/connection.py