We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 238ae01 commit f8d4f7dCopy full SHA for f8d4f7d
chia/server/chia_policy.py
@@ -6,6 +6,7 @@
6
import ssl
7
import struct
8
import sys
9
+import weakref
10
11
if sys.platform == "win32":
12
import _overlapped # type: ignore[import-not-found]
@@ -57,7 +58,11 @@ class BaseEventsServer(asyncio.base_events.Server):
57
58
else:
59
_loop: EventsAbstractEventLoop
60
_sockets: Iterable[socket.socket]
- _active_count: int
61
+ if sys.version_info >= (3, 13):
62
+ # https://github.com/python/cpython/blob/v3.13.7/Lib/asyncio/base_events.py#L283
63
+ _clients: weakref.WeakSet[object]
64
+ else:
65
+ _active_count: int
66
_protocol_factory: _ProtocolFactory
67
_backlog: int
68
_ssl_context: _SSLContext
0 commit comments