File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
tests/stubtest_allowlists Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change
1
+ import sys
2
+ from multiprocessing .process import BaseProcess
3
+ from typing import ClassVar
4
+
5
+ from . import popen_fork
6
+ from .util import Finalize
7
+
8
+ if sys .platform != "win32" :
9
+ __all__ = ["Popen" ]
10
+
11
+ class _DupFd :
12
+ def __init__ (self , ind : int ) -> None : ...
13
+ def detach (self ) -> int : ...
14
+
15
+ class Popen (popen_fork .Popen ):
16
+ DupFd : ClassVar [type [_DupFd ]]
17
+ finalizer : Finalize
18
+ sentinel : int
19
+
20
+ def __init__ (self , process_obj : BaseProcess ) -> None : ...
21
+ def duplicate_for_child (self , fd : int ) -> int : ...
22
+ def poll (self , flag : int = ...) -> int | None : ...
Original file line number Diff line number Diff line change 56
56
termios
57
57
xxlimited
58
58
59
- # Multiprocessing .popen_fork exists on Windows but fails to import
59
+ # multiprocessing .popen_fork and popen_forkserver exist on Windows but fail to import
60
60
multiprocessing.popen_fork
61
+ multiprocessing.popen_forkserver
61
62
62
63
# Modules that rely on _curses
63
64
curses
You can’t perform that action at this time.
0 commit comments