You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+42-44Lines changed: 42 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,63 +2,62 @@
2
2
3
3
## Summary
4
4
5
-
The minimum Python supported version was bumped to 3.11 and the `Select` class replaced by the new `Selector`.
5
+
The minimum Python supported version was bumped to 3.11 and the `Select` class replaced by the new `select()` function.
6
6
7
7
## Upgrading
8
8
9
9
* The minimum supported Python version was bumped to 3.11, downstream projects will need to upgrade too to use this version.
10
10
11
-
* The `Select` class was replaced by a new `Selector` class, with the following improvements:
11
+
* The `Select` class was replaced by a new `select()` function, with the following improvements:
12
12
13
13
* Type-safe: proper type hinting by using the new helper type guard `selected_from()`.
14
14
* Fixes potential starvation issues.
15
15
* Simplifies the interface by providing values one-by-one.
16
16
* Guarantees there are no dangling tasks left behind when used as an async context manager.
17
17
18
-
This new class acts as an [async context manager](https://docs.python.org/3/reference/datamodel.html#async-context-managers) and an [async iterator](https://docs.python.org/3.11/library/collections.abc.html#collections.abc.AsyncIterator), and makes sure no dangling tasks are left behind after a select loop is done.
18
+
This new function is an [async iterator](https://docs.python.org/3.11/library/collections.abc.html#collections.abc.AsyncIterator), and makes sure no dangling tasks are left behind after a select loop is done.
0 commit comments