Skip to content

Commit 7838ab5

Browse files
authored
[waitress] Update to 3.0.1 (#12917)
1 parent 0301510 commit 7838ab5

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

stubs/waitress/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "3.0.*"
1+
version = "~=3.0.1"
22
upstream_repository = "https://github.com/Pylons/waitress"
33

44
[tool.stubtest]

stubs/waitress/waitress/channel.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class HTTPChannel(wasyncore.dispatcher):
3232
sendbuf_len: int
3333
task_lock: Lock
3434
outbuf_lock: Condition
35+
connected: bool
3536
addr: _RetAddress
3637
def __init__(
3738
self, server: BaseWSGIServer, sock: socket, addr: _RetAddress, adj: Adjustments, map: _SocketMap | None = None
@@ -43,7 +44,6 @@ class HTTPChannel(wasyncore.dispatcher):
4344
def handle_read(self) -> None: ...
4445
def send_continue(self) -> None: ...
4546
def received(self, data: bytes) -> bool: ...
46-
connected: bool
4747
def handle_close(self) -> None: ...
4848
def add_channel(self, map: _SocketMap | None = None) -> None: ...
4949
def del_channel(self, map: _SocketMap | None = None) -> None: ...

stubs/waitress/waitress/wasyncore.pyi

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class dispatcher:
4747
def writable(self) -> bool: ...
4848
def listen(self, num: int) -> None: ...
4949
def bind(self, addr: _RetAddress) -> None: ...
50-
def connect(self, address: _RetAddress) -> None: ...
5150
def accept(self) -> tuple[_Socket, _RetAddress] | None: ...
5251
def send(self, data: bytes, do_close: bool = True) -> int: ...
5352
def recv(self, buffer_size: int) -> bytes: ...
@@ -67,14 +66,6 @@ class dispatcher:
6766
def handle_accepted(self, sock: _Socket, addr: _RetAddress) -> None: ...
6867
def handle_close(self) -> None: ...
6968

70-
class dispatcher_with_send(dispatcher):
71-
out_buffer: bytes
72-
def __init__(self, sock: _Socket | None = None, map: _SocketMap | None = None) -> None: ...
73-
def initiate_send(self) -> None: ...
74-
handle_write = initiate_send
75-
def writable(self) -> bool: ...
76-
def send(self, data: bytes) -> None: ... # type: ignore[override]
77-
7869
def close_all(map: _SocketMap | None = None, ignore_all: bool = False) -> None: ...
7970

8071
if sys.platform != "win32":

0 commit comments

Comments
 (0)