-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
116 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,23 @@ | ||
from _typeshed import Incomplete | ||
__all__ = ["Listener"] | ||
|
||
__all__ = ['Client', 'Listener', 'Pipe', 'wait'] | ||
|
||
class _SocketContainer: | ||
sock: Incomplete | ||
def __init__(self, sock) -> None: ... | ||
class _SocketContainer: ... | ||
|
||
class _ConnectionBase: | ||
def __init__(self, handle, readable: bool = True, writable: bool = True) -> None: ... | ||
def __del__(self) -> None: ... | ||
@property | ||
def closed(self): ... | ||
@property | ||
def readable(self): ... | ||
@property | ||
def writable(self): ... | ||
def fileno(self): ... | ||
def close(self) -> None: ... | ||
def send_bytes(self, buf, offset: int = 0, size: Incomplete | None = None) -> None: ... | ||
def send(self, obj) -> None: ... | ||
def recv_bytes(self, maxlength: Incomplete | None = None): ... | ||
def recv_bytes_into(self, buf, offset: int = 0): ... | ||
def recv(self): ... | ||
def poll(self, timeout: float = 0.0): ... | ||
def __enter__(self): ... | ||
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, exc_tb: types.TracebackType | None) -> None: ... | ||
def send_offset(self, buf, offset): ... | ||
def setblocking(self, blocking) -> None: ... | ||
|
||
class PipeConnection(_ConnectionBase): ... | ||
class Connection(_ConnectionBase): ... | ||
|
||
class Listener: | ||
def __init__(self, address: Incomplete | None = None, family: Incomplete | None = None, backlog: int = 1, authkey: Incomplete | None = None) -> None: ... | ||
def accept(self): ... | ||
def __init__( | ||
self, | ||
backlog: int = ..., | ||
) -> None: ... | ||
def close(self) -> None: ... | ||
address: Incomplete | ||
last_accepted: Incomplete | ||
def __enter__(self): ... | ||
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, exc_tb: types.TracebackType | None) -> None: ... | ||
|
||
def Client(address, family: Incomplete | None = None, authkey: Incomplete | None = None): ... | ||
def Pipe(duplex: bool = True, rnonblock: bool = False, wnonblock: bool = False): ... | ||
|
||
class SocketListener: | ||
def __init__(self, address, family, backlog: int = 1) -> None: ... | ||
def accept(self): ... | ||
def close(self) -> None: ... | ||
|
||
class ConnectionWrapper: | ||
def __init__(self, conn, dumps, loads) -> None: ... | ||
def send(self, obj) -> None: ... | ||
def recv(self): ... | ||
|
||
class XmlListener(Listener): | ||
def accept(self): ... | ||
|
||
def wait(object_list, timeout: Incomplete | None = None): ... | ||
class ConnectionWrapper: ... | ||
class XmlListener(Listener): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
from _typeshed import Incomplete | ||
|
||
__all__ = ['BaseProcess', 'Process'] | ||
__all__ = ["BaseProcess", "Process"] | ||
|
||
class BaseProcess: | ||
def __init__(self, group: Incomplete | None = None, target: Incomplete | None = None, name: Incomplete | None = None, daemon: Incomplete | None = None) -> None: ... | ||
def __init__( | ||
self, | ||
) -> None: ... | ||
def run(self) -> None: ... | ||
def start(self) -> None: ... | ||
def close(self) -> None: ... | ||
def terminate(self) -> None: ... | ||
def terminate_controlled(self) -> None: ... | ||
def join(self, timeout: Incomplete | None = None) -> None: ... | ||
|
||
class AuthenticationString(bytes): ... | ||
|
||
class _MainProcess(BaseProcess): | ||
def __init__(self) -> None: ... | ||
|
||
Process = BaseProcess |
Oops, something went wrong.