Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add magic number of 3.11 final bytecode #112983

Closed
@wimglenn

Description

@wimglenn

Bug report

Bug description:

The magic number 3495 of Python 3.11 final is somehow magically disappeared from main branch.

It's there in all 3.11.x:

https://github.com/python/cpython/blob/v3.11.0/Lib/importlib/_bootstrap_external.py#L406
...
https://github.com/python/cpython/blob/v3.11.7/Lib/importlib/_bootstrap_external.py#L406

So not sure how it went missing afterward, bad cherry-picking maybe?

This should be added back to the known values list.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions