Title: test_multiprocessing_spawn.test_threads failed twice with "concurrent send_bytes() calls are not supported" on AMD64 Windows Server 2022 NoGIL 3.15 · Issue #162304 · python/cpython · GitHub
Open Graph Title: test_multiprocessing_spawn.test_threads failed twice with "concurrent send_bytes() calls are not supported" on AMD64 Windows Server 2022 NoGIL 3.15 · Issue #162304 · python/cpython
X Title: test_multiprocessing_spawn.test_threads failed twice with "concurrent send_bytes() calls are not supported" on AMD64 Windows Server 2022 NoGIL 3.15 · Issue #162304 · python/cpython
Description: Bug report AMD64 Windows Server 2022 NoGIL 3.15: https://buildbot.python.org/#/builders/2120/builds/703 At the first run: test_async_timeout (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_async_timeout) ... Warnin...
Open Graph Description: Bug report AMD64 Windows Server 2022 NoGIL 3.15: https://buildbot.python.org/#/builders/2120/builds/703 At the first run: test_async_timeout (test.test_multiprocessing_spawn.test_threads.WithThread...
X Description: Bug report AMD64 Windows Server 2022 NoGIL 3.15: https://buildbot.python.org/#/builders/2120/builds/703 At the first run: test_async_timeout (test.test_multiprocessing_spawn.test_threads.WithThread...
Opengraph URL: https://github.com/python/cpython/issues/162304
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_multiprocessing_spawn.test_threads failed twice with \"concurrent send_bytes() calls are not supported\" on AMD64 Windows Server 2022 NoGIL 3.15","articleBody":"### Bug report\n\nAMD64 Windows Server 2022 NoGIL 3.15: https://buildbot.python.org/#/builders/2120/builds/703\n\nAt the first run:\n\n```\ntest_async_timeout (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_async_timeout) ... Warning -- Uncaught thread exception: ValueError\nException in thread Thread-86 (_handle_results):\nTraceback (most recent call last):\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\threading.py\", line 1219, in _bootstrap_inner\n self._context.run(self.run)\n ~~~~~~~~~~~~~~~~~^^^^^^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\threading.py\", line 1161, in run\n self._target(*self._args, **self._kwargs)\n ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\pool.py\", line 595, in _handle_results\n cache[job]._set(i, obj)\n ~~~~~~~~~~~~~~~^^^^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\pool.py\", line 783, in _set\n del self._cache[self._job]\n ~~~~~~~~~~~^^^^^^^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\pool.py\", line 171, in __delitem__\n self.notifier.put(None)\n ~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\queues.py\", line 394, in put\n self._writer.send_bytes(obj)\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\connection.py\", line 211, in send_bytes\n self._send_bytes(m[offset:offset + size])\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\connection.py\", line 298, in _send_bytes\n raise ValueError(\"concurrent send_bytes() calls \"\n \"are not supported\")\nValueError: concurrent send_bytes() calls are not supported\nok\n```\n\nWhen the test was re-run in verbose mode:\n\n```python\nERROR: test_wrapped_exception (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_wrapped_exception)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\contextlib.py\", line 116, in inner\n return func(*args, **kwds)\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\test\\_test_multiprocessing.py\", line 3224, in test_wrapped_exception\n with self.Pool(1) as p:\n ~~~~~~~~~^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\pool.py\", line 739, in __exit__\n self.terminate()\n ~~~~~~~~~~~~~~^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\pool.py\", line 657, in terminate\n self._terminate()\n ~~~~~~~~~~~~~~~^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\util.py\", line 354, in __call__\n res = self._callback(*self._args, **self._kwargs)\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\pool.py\", line 690, in _terminate_pool\n change_notifier.put(None)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\queues.py\", line 394, in put\n self._writer.send_bytes(obj)\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\connection.py\", line 211, in send_bytes\n self._send_bytes(m[offset:offset + size])\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\bbarea\\3.15.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\multiprocessing\\connection.py\", line 298, in _send_bytes\n raise ValueError(\"concurrent send_bytes() calls \"\n \"are not supported\")\nValueError: concurrent send_bytes() calls are not supported\n```\n\n\n### CPython versions tested on:\n\n3.15\n\n### Operating systems tested on:\n\nWindows","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2026-11-20T00:33:47Z","url":"https://github.com/python/cpython/issues/162304"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:10274a60-f482-9e7b-2454-2b848776fa75 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F3C:9E08E:1D5E7:246FF:6B01E940 |
| html-safe-nonce | 7a043a5cd9521de7ad49bff14a482d37a27666c038ec5b71fdd49f0ef646acb6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjNDOjlFMDhFOjFENUU3OjI0NkZGOjZCMDFFOTQwIiwidmlzaXRvcl9pZCI6IjY2NzA4NDI3MDgwMDI3MjgyNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 094b0effa0d4e13812e752ef1f43e10b35f6e6bbe20e24db946e8f678f452ada |
| hovercard-subject-tag | issue:6502049825 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/162304/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2ab7ab817282803c0098d7dc31bba18b96a547bf01cc736c502d49274b7dafca/python/cpython/issues/162304 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2ab7ab817282803c0098d7dc31bba18b96a547bf01cc736c502d49274b7dafca/python/cpython/issues/162304 |
| og:image:alt | Bug report AMD64 Windows Server 2022 NoGIL 3.15: https://buildbot.python.org/#/builders/2120/builds/703 At the first run: test_async_timeout (test.test_multiprocessing_spawn.test_threads.WithThread... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width