[waitress] Update to 3.0.1 (#12917)

This commit is contained in:
Sebastian Rittau
2024-10-29 11:15:01 +01:00
committed by GitHub
parent 0301510114
commit 7838ab5f98
3 changed files with 2 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
version = "3.0.*"
version = "~=3.0.1"
upstream_repository = "https://github.com/Pylons/waitress"
[tool.stubtest]

View File

@@ -32,6 +32,7 @@ class HTTPChannel(wasyncore.dispatcher):
sendbuf_len: int
task_lock: Lock
outbuf_lock: Condition
connected: bool
addr: _RetAddress
def __init__(
self, server: BaseWSGIServer, sock: socket, addr: _RetAddress, adj: Adjustments, map: _SocketMap | None = None
@@ -43,7 +44,6 @@ class HTTPChannel(wasyncore.dispatcher):
def handle_read(self) -> None: ...
def send_continue(self) -> None: ...
def received(self, data: bytes) -> bool: ...
connected: bool
def handle_close(self) -> None: ...
def add_channel(self, map: _SocketMap | None = None) -> None: ...
def del_channel(self, map: _SocketMap | None = None) -> None: ...

View File

@@ -47,7 +47,6 @@ class dispatcher:
def writable(self) -> bool: ...
def listen(self, num: int) -> None: ...
def bind(self, addr: _RetAddress) -> None: ...
def connect(self, address: _RetAddress) -> None: ...
def accept(self) -> tuple[_Socket, _RetAddress] | None: ...
def send(self, data: bytes, do_close: bool = True) -> int: ...
def recv(self, buffer_size: int) -> bytes: ...
@@ -67,14 +66,6 @@ class dispatcher:
def handle_accepted(self, sock: _Socket, addr: _RetAddress) -> None: ...
def handle_close(self) -> None: ...
class dispatcher_with_send(dispatcher):
out_buffer: bytes
def __init__(self, sock: _Socket | None = None, map: _SocketMap | None = None) -> None: ...
def initiate_send(self) -> None: ...
handle_write = initiate_send
def writable(self) -> bool: ...
def send(self, data: bytes) -> None: ... # type: ignore[override]
def close_all(map: _SocketMap | None = None, ignore_all: bool = False) -> None: ...
if sys.platform != "win32":