From cba28dbf8ecb64e2297d0a403fa9beaaf28f3d82 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 29 Jul 2026 16:28:10 +0300 Subject: [PATCH 1/2] Update bytecode magic number for the 3.15 release candidate --- Lib/test/test_importlib/test_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py index 8ec2dcd69e58b6..9ad08cbf9c5edf 100644 --- a/Lib/test/test_importlib/test_util.py +++ b/Lib/test/test_importlib/test_util.py @@ -647,7 +647,7 @@ def test_magic_number(self): # stakeholders such as OS package maintainers must be notified # in advance. Such exceptional releases will then require an # adjustment to this test case. - EXPECTED_MAGIC_NUMBER = 3625 + EXPECTED_MAGIC_NUMBER = 3666 actual = int.from_bytes(importlib.util.MAGIC_NUMBER[:2], 'little') msg = ( From 57f1e2961e7940f09969eb1733ec98d73cacbaab Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 30 Jul 2026 13:24:56 +0300 Subject: [PATCH 2/2] python-dev -> Discourse, minor release -> feature release --- Lib/test/test_importlib/test_util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py index 9ad08cbf9c5edf..8a911c1b751a4b 100644 --- a/Lib/test/test_importlib/test_util.py +++ b/Lib/test/test_importlib/test_util.py @@ -633,7 +633,7 @@ class MagicNumberTests(unittest.TestCase): 'only applies to candidate or final python release levels' ) def test_magic_number(self): - # Each python minor release should generally have a MAGIC_NUMBER + # Each Python feature release should generally have a MAGIC_NUMBER # that does not change once the release reaches candidate status. # Once a release reaches candidate status, the value of the constant @@ -643,7 +643,7 @@ def test_magic_number(self): # In exceptional cases, it may be required to change the MAGIC_NUMBER # for a maintenance release. In this case the change should be - # discussed in python-dev. If a change is required, community + # discussed in on Discourse. If a change is required, community # stakeholders such as OS package maintainers must be notified # in advance. Such exceptional releases will then require an # adjustment to this test case. @@ -659,7 +659,7 @@ def test_magic_number(self): "magic number in this test to the current MAGIC_NUMBER to " "continue with the release.\n\n" "Changing the MAGIC_NUMBER for a maintenance release " - "requires discussion in python-dev and notification of " + "requires discussion on Discourse and notification of " "community stakeholders." ) self.assertEqual(EXPECTED_MAGIC_NUMBER, actual, msg)