Skip to content

Commit

Permalink
WIP: Add change log and migration guide entries.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Dec 19, 2023
1 parent d4c2c09 commit c9af527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions newsfragments/3661.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The `Iter(A)NextOutput` types are now deprecated and `__(a)next__` can directly return anything which can be converted into Python objects, i.e. awaitables do not need to be wrapped into `IterANextOutput` or `Option` any more. `Option` can still be used as well and returning `None` will trigger the fast path for `__next__`, stopping iteration without having to raise a `StopIteration` exception.

0 comments on commit c9af527

Please sign in to comment.