# Bug report ### Bug description: The following error occurs on 3.13.7 on Windows but not on 3.13.6 ``` def spawnv_passfds(path, args, passfds): > import _posixsubprocess E ModuleNotFoundError: No module named '_posixsubprocess' ``` See reports at - https://github.com/joblib/loky/issues/459 - https://github.com/astral-sh/python-build-standalone/issues/774 Unfortunately the reports have not yet included a minimal reproduction. The obvious things to try do not reproduce the problem. This appears to be a regression from - https://github.com/python/cpython/pull/137738 That change also seems to cause a regression `ValueError: Cannot register X for automatic cleanup: unknown resource type Y` which is being discussed in - https://github.com/python/cpython/issues/131788 but that seems distinct from this error. ### CPython versions tested on: 3.13 ### Operating systems tested on: Windows <!-- gh-linked-prs --> ### Linked PRs * gh-138222 <!-- /gh-linked-prs -->
Bug report
Bug description:
The following error occurs on 3.13.7 on Windows but not on 3.13.6
See reports at
ModuleNotFoundError: No module named '_posixsubprocess'on Windows and warningsCannot register X for automatic cleanup: unknown resource type Yon posix joblib/loky#459ModuleNotFoundError: No module named '_posixsubprocess'astral-sh/python-build-standalone#774Unfortunately the reports have not yet included a minimal reproduction. The obvious things to try do not reproduce the problem.
This appears to be a regression from
That change also seems to cause a regression
ValueError: Cannot register X for automatic cleanup: unknown resource type Ywhich is being discussed inbut that seems distinct from this error.
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Linked PRs