Skip to content

Inconsistent locations for conditional branches in while statements #122821

Description

@markshannon

Bug report

Bug description:

Reported here: #122762 (comment)

The locations for branches in while statements are not consistent. The first iteration shows different locations from the second and later iterations.

I've not check earlier versions, but this could be an issue for 3.12 as well.

CPython versions tested on:

3.13, CPython main branch

Operating systems tested on:

No response

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixes3.14bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions