You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_multiprocessing_spawn: Popen.terminate() failed with PermissionError: [WinError 5] Access is denied #110036
subprocess.terminate() catchs PermissionError: we can reuse their code. I'm working on a fix.
GHA Windows x86:
ERROR: tearDownClass (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\a\cpython\cpython\Lib\test\_test_multiprocessing.py", line 2483, in tearDownClass
super().tearDownClass()
File "D:\a\cpython\cpython\Lib\test\_test_multiprocessing.py", line 6131, in tearDownClass
cls.manager.shutdown()
File "D:\a\cpython\cpython\Lib\multiprocessing\util.py", line 220, in __call__
res = self._callback(*self._args, **self._kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\cpython\cpython\Lib\multiprocessing\managers.py", line 683, in _finalize_manager
process.terminate()
File "D:\a\cpython\cpython\Lib\multiprocessing\process.py", line 133, in terminate
self._popen.terminate()
File "D:\a\cpython\cpython\Lib\multiprocessing\popen_spawn_win32.py", line 124, in terminate
_winapi.TerminateProcess(int(self._handle), TERMINATE)
PermissionError: [WinError 5] Access is denied
Activity
pythongh-110036: multiprocessing Popen.terminate() catchs PermissionE…
pythongh-110036: multiprocessing Popen.terminate() catchs PermissionE…
gh-110036: multiprocessing Popen.terminate() catches PermissionError (#…
pythongh-110036: multiprocessing Popen.terminate() catches Permission…
pythongh-110036: multiprocessing Popen.terminate() catches Permission…
[3.11] gh-110036: multiprocessing Popen.terminate() catches Permissio…
[3.12] gh-110036: multiprocessing Popen.terminate() catches Permissio…
pythongh-110036: multiprocessing Popen.terminate() catches Permission…