Irit Katriel <[email protected]> added the comment:
I was able to reproduce the crash in python 2.7, but in Python 3.10 (after I
changed to import PipeConnection from multiprocessing.connection instead of
_multiprocessing), it doesn't crash but raises an exception that makes sense
when the handle is 0:
Running Release|Win32 interpreter...
Exception ignored in: <function _ConnectionBase.__del__ at 0x0228CC40>
Traceback (most recent call last):
File "C:\Users\User\src\cpython\lib\multiprocessing\connection.py", line 137,
in __del__
self._close()
File "C:\Users\User\src\cpython\lib\multiprocessing\connection.py", line 282,
in _close
_CloseHandle(self._handle)
OSError: [WinError 6] The handle is invalid
----------
nosy: +iritkatriel
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32725>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com