summaryrefslogtreecommitdiffstats
path: root/Modules/_sre/sre_constants.h
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2022-06-17 08:19:44 (GMT)
committerGitHub <noreply@github.com>2022-06-17 08:19:44 (GMT)
commit4beee0c7b0c2cc78a893dde88fd8e34099dcf877 (patch)
treee3fa8fb0d8260f7c3d16d795c29580386868a5a6 /Modules/_sre/sre_constants.h
parent538f28921f67e36617272faa662375d305d9284c (diff)
downloadcpython-4beee0c7b0c2cc78a893dde88fd8e34099dcf877.zip
cpython-4beee0c7b0c2cc78a893dde88fd8e34099dcf877.tar.gz
cpython-4beee0c7b0c2cc78a893dde88fd8e34099dcf877.tar.bz2
gh-91404: Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or allocation failure (GH-32283) (#93882)
Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or memory allocation failure (GH-32283)" This reverts commit 6e3eee5c11b539e9aab39cff783acf57838c355a. Manual fixups to increase the MAGIC number and to handle conflicts with a couple of changes that landed after that. Thanks for reviews by Ma Lin and Serhiy Storchaka.
Diffstat (limited to 'Modules/_sre/sre_constants.h')
-rw-r--r--Modules/_sre/sre_constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sre/sre_constants.h b/Modules/_sre/sre_constants.h
index 590d5be..c633514 100644
--- a/Modules/_sre/sre_constants.h
+++ b/Modules/_sre/sre_constants.h
@@ -11,7 +11,7 @@
* See the sre.c file for information on usage and redistribution.
*/
-#define SRE_MAGIC 20220423
+#define SRE_MAGIC 20220615
#define SRE_OP_FAILURE 0
#define SRE_OP_SUCCESS 1
#define SRE_OP_ANY 2