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 6e3eee5c11.

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.
This commit is contained in:
Gregory P. Smith 2022-06-17 01:19:44 -07:00 committed by GitHub
parent 538f28921f
commit 4beee0c7b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 74 additions and 146 deletions

View file

@ -13,7 +13,7 @@
# update when constants are added or removed
MAGIC = 20220423
MAGIC = 20220615
from _sre import MAXREPEAT, MAXGROUPS