]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109370: Fix unexpected traceback output in test_concurrent_futures (GH-109780)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 26 Sep 2023 07:06:07 +0000 (10:06 +0300)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2023 07:06:07 +0000 (10:06 +0300)
commit0b4e090422db5f959184353d53552d1675f74212
treec6e7757039d019b299cf1082c2d815eae1f1392c
parent4091deba88946841044b0a54090492a2fd903d42
gh-109370: Fix unexpected traceback output in test_concurrent_futures (GH-109780)

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