Skip to content

basicblock_addop Assertion #109627

Description

@15r10nk

Bug report

Bug description:

I found the following error with the latest cpython 3.12 from git (4a0c118), which I build myself with --with-pydebug enabled.

source:

def get_namespace_uri():
    while element and something:
        try:
            return something
        except:
            pass

output (Python 3.12.0rc3+):

python3: Python/flowgraph.c:114: basicblock_addop: Assertion `0 <= oparg && oparg < (1 << 30)' failed.

CPython versions tested on:

3.12

Operating systems tested on:

Linux

Linked PRs

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixesrelease-blockertype-bugAn unexpected behavior, bug, or error

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions