summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaj <51259329+workingpayload@users.noreply.github.com>2023-03-04 14:21:29 (GMT)
committerGitHub <noreply@github.com>2023-03-04 14:21:29 (GMT)
commit705487c6557c3d8866622b4d32528bf7fc2e4204 (patch)
treeb9f348ce98df6e03549d282dab6b0a49b93863d1 /Misc
parentb022250e67449e0bc49a3c982fe9e6a2d6a7b71a (diff)
downloadcpython-705487c6557c3d8866622b4d32528bf7fc2e4204.zip
cpython-705487c6557c3d8866622b4d32528bf7fc2e4204.tar.gz
cpython-705487c6557c3d8866622b4d32528bf7fc2e4204.tar.bz2
gh-101892: Fix `SystemError` when a callable iterator call exhausts the iterator (#101896)
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-02-14-09-08-48.gh-issue-101892.FMos8l.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-02-14-09-08-48.gh-issue-101892.FMos8l.rst b/Misc/NEWS.d/next/Library/2023-02-14-09-08-48.gh-issue-101892.FMos8l.rst
new file mode 100644
index 0000000..d586779
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-02-14-09-08-48.gh-issue-101892.FMos8l.rst
@@ -0,0 +1,3 @@
+Callable iterators no longer raise :class:`SystemError` when the
+callable object exhausts the iterator but forgets to either return a
+sentinel value or raise :class:`StopIteration`.