Skip to content

Commit 55a2db7

Browse files
gh-95555: Change the re MAGIC number to 20260622
Use the date the new opcodes were finalized rather than a future-dated placeholder. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 2d66931 commit 55a2db7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/re/_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# update when constants are added or removed
1515

16-
MAGIC = 20260628
16+
MAGIC = 20260622
1717

1818
from _sre import MAXREPEAT, MAXGROUPS # noqa: F401
1919

Modules/_sre/sre_constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* See the sre.c file for information on usage and redistribution.
1212
*/
1313

14-
#define SRE_MAGIC 20260628
14+
#define SRE_MAGIC 20260622
1515
#define SRE_OP_FAILURE 0
1616
#define SRE_OP_SUCCESS 1
1717
#define SRE_OP_ANY 2

0 commit comments

Comments
 (0)