File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ They may change at any time.
30
30
31
31
*In development *
32
32
33
+ 9.0.2
34
+ .....
35
+
36
+ *In development *
37
+
38
+ * Restored compatibility of ``python -m websockets `` with Python < 3.9.
39
+
33
40
9.0.1
34
41
.....
35
42
Original file line number Diff line number Diff line change @@ -178,11 +178,11 @@ def main() -> None:
178
178
179
179
# Due to zealous removal of the loop parameter in the Queue constructor,
180
180
# we need a factory coroutine to run in the freshly created event loop.
181
- async def queue_factory () -> asyncio .Queue [str ]:
181
+ async def queue_factory () -> " asyncio.Queue[str]" :
182
182
return asyncio .Queue ()
183
183
184
184
# Create a queue of user inputs. There's no need to limit its size.
185
- inputs : asyncio .Queue [str ] = loop .run_until_complete (queue_factory ())
185
+ inputs : " asyncio.Queue[str]" = loop .run_until_complete (queue_factory ())
186
186
187
187
# Create a stop condition when receiving SIGINT or SIGTERM.
188
188
stop : asyncio .Future [None ] = loop .create_future ()
You can’t perform that action at this time.
0 commit comments