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
This exception is very niche, is not really intended to be caught by
the users, as it should only happen when there is something really
wrong.
If there is any unexpected error during finalization, we just raise a
`BaseExceptionGroup`, which will be automatically converted to a regular
`ExceptionGroup` by Python if there are no `BaseException`s in the
group.
Signed-off-by: Leandro Lucarella <[email protected]>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,6 @@
71
71
72
72
-`Selected`
73
73
-`SelectError`
74
-
-`SelectErrorGroup`
75
74
-`UnhandledSelectedError`
76
75
-`select`
77
76
-`selected_from`
@@ -110,6 +109,8 @@
110
109
111
110
This was removed alongside `Peekable` (it was only raised when using a `Receiver` that was converted into a `Peekable`).
112
111
112
+
*`SelectErrorGroup` was removed, a Python built-in `BaseExceptionGroup` is raised instead in case of unexpected errors while finalizing a `select()` loop, which will be automatically converted to a simple `ExceptionGroup` when no exception in the groups is a `BaseException`.
113
+
113
114
-`Timer`:
114
115
115
116
-`periodic()` and `timeout()`: The names proved to be too confusing, please use `Timer()` and pass a missing ticks policy explicitly instead. In general you can update your code by doing:
0 commit comments