◐ Shell
clean mode source ↗

[3.11] gh-91404: Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or allocation failure (GH-32283) (GH-93882) by miss-islington · Pull Request #93928 · python/cpython

…match is terminated by a signal or allocation failure (pythonGH-32283) (pythonGH-93882)

Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or memory allocation failure (pythonGH-32283)"

This reverts commit 6e3eee5.

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.
(cherry picked from commit 4beee0c)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

@bedevere-bot mentioned this pull request

Jun 17, 2022