]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109370: Fix unexpected traceback output in test_concurrent_futures (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 10 Nov 2023 07:17:02 +0000 (09:17 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Nov 2023 07:17:02 +0000 (07:17 +0000)
commit4018209fff7ba1be3cc1f919f0bebc931febbf82
tree0f720a3b60affdf14f40b075453fd21f6a684a08
parent5a8e6f8bccd7048e592f6bd45af503ce3fac95dd
[3.12] gh-109370: Fix unexpected traceback output in test_concurrent_futures (GH-109780) (GH-111934)

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)
Lib/concurrent/futures/process.py
Lib/multiprocessing/connection.py