mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Disable __del__ for subprocess.Handle in windows
This commit is contained in:
1 parent
869b8c3c8f
commit
6eb5daf9f6
1 file changed
+2
-1
Vendored
+2
-1
@@ -202,7 +202,8 @@ if _mswindows:
|
||||
def __repr__(self):
|
||||
return "%s(%d)" % (self.__class__.__name__, int(self))
|
||||
|
||||
__del__ = Close
|
||||
# XXX: RustPython; OSError('The handle is invalid. (os error 6)')
|
||||
# __del__ = Close
|
||||
else:
|
||||
# When select or poll has indicated that the file is writable,
|
||||
# we can write up to _PIPE_BUF bytes without risk of blocking.
|
||||
|
||||
Reference in new issue
Block a user