This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dennis Sweeney
Recipients Demur Rumed, Dennis Sweeney, Mark.Shannon, berker.peksag, db3l, eric.fahlgren, godaygo, python-dev, rhettinger, serhiy.storchaka, vstinner
Date 2021-04-03.23:58:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617494282.68.0.0185182623384.issue27129@roundup.psfhosted.org>
In-reply-to
Content
I notice this in _bootstrap_external.py: the magic number did not get changed, only the comment:


#     Python 3.10a2 3433 (RERAISE restores f_lasti if oparg != 0)
#     Python 3.10a6 3434 (PEP 634: Structural Pattern Matching)
#     Python 3.10a7 3435 Use instruction offsets (as opposed to byte offsets).

#
# MAGIC must change whenever the bytecode emitted by the compiler may no
# longer be understood by older implementations of the eval loop (usually
# due to the addition of new opcodes).
#
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
# in PC/launcher.c must also be updated.
MAGIC_NUMBER = (3434).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little')  # For import.c
History
Date User Action Args
2021-04-03 23:58:02Dennis Sweeneysetrecipients: + Dennis Sweeney, rhettinger, db3l, vstinner, Mark.Shannon, python-dev, berker.peksag, serhiy.storchaka, eric.fahlgren, Demur Rumed, godaygo
2021-04-03 23:58:02Dennis Sweeneysetmessageid: <1617494282.68.0.0185182623384.issue27129@roundup.psfhosted.org>
2021-04-03 23:58:02Dennis Sweeneylinkissue27129 messages
2021-04-03 23:58:02Dennis Sweeneycreate