-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Element.extend hides exceptions from underlying generators. #123213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also happens on assignment: >>> Element("a")[:1] = (1/0 for i in range(1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: expected sequence, not "generator" Patching up... |
serhiy-storchaka
pushed a commit
that referenced
this issue
Aug 23, 2024
…to no longer hide exceptions (GH-123214)
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 23, 2024
…nment to no longer hide exceptions (pythonGH-123214) (cherry picked from commit 90b6d0e) Co-authored-by: Bar Harel <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 23, 2024
…nment to no longer hide exceptions (pythonGH-123214) (cherry picked from commit 90b6d0e) Co-authored-by: Bar Harel <[email protected]>
Fixed 🎉 |
hugovk
pushed a commit
that referenced
this issue
Sep 6, 2024
…gnment to no longer hide exceptions (GH-123214) (#123258) Co-authored-by: Bar Harel <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
C-implementation only bug.
Submitting a patch...
CPython versions tested on:
3.12, 3.13, CPython main branch
Operating systems tested on:
macOS, Windows
Linked PRs
The text was updated successfully, but these errors were encountered: