-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Python/flowgraph.c:528: all_exits_have_lineno: Assertion `0' failed #124746
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
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Comments
Thanks. This commit is the one that introduced this assertion. I will remove it from 3.13 so it doesn't block releases, but will leave it in 3.14 so we can keep finding these edge cases. |
iritkatriel
added a commit
to iritkatriel/cpython
that referenced
this issue
Sep 29, 2024
Yhg1s
pushed a commit
that referenced
this issue
Sep 30, 2024
This version also crashes (return in try instead of else):
Also this one (first
|
@iritkatriel anything else to do here? |
These examples don't fail on 3.14 (where the assertion exists) so I guess we fixed it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
The following code causes an assertion in a debug build:
output (Python 3.13.0rc2+):
This bug can be reproduced with the current 3.13 branch (80de976).
I bisected the issue down to 7e49f27.
@iritkatriel I think this is one for you again.
CPython versions tested on:
3.13
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: