GH-122821: Simplify compilation of while statements to ensure consistency of offsets for sys.monitoring (GH-122934)

This commit is contained in:
Mark Shannon 2024-08-13 10:25:44 +01:00 committed by GitHub
parent 0e207f3e7a
commit fe23f8ed97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 122 additions and 87 deletions

View file

@ -255,6 +255,7 @@ Known values:
Python 3.14a1 3601 (Fix miscompilation of private names in generic classes)
Python 3.14a1 3602 (Add LOAD_SPECIAL. Remove BEFORE_WITH and BEFORE_ASYNC_WITH)
Python 3.14a1 3603 (Remove BUILD_CONST_KEY_MAP)
Python 3.14a1 3604 (Do not duplicate test at end of while statements)
Python 3.15 will start with 3650
@ -267,7 +268,7 @@ PC/launcher.c must also be updated.
*/
#define PYC_MAGIC_NUMBER 3603
#define PYC_MAGIC_NUMBER 3604
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
(little-endian) and then appending b'\r\n'. */
#define PYC_MAGIC_NUMBER_TOKEN \