diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-17 08:43:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 08:43:56 (GMT) |
commit | 029835d9d4073d34d95bde9f969a6b0f969fda00 (patch) | |
tree | 3675e1fae9fc9df5a16f61b40a8afc881e0d6993 /Misc | |
parent | 5ee86d43067f46d8a99134bfaf01ebb98a71e295 (diff) | |
download | cpython-029835d9d4073d34d95bde9f969a6b0f969fda00.zip cpython-029835d9d4073d34d95bde9f969a6b0f969fda00.tar.gz cpython-029835d9d4073d34d95bde9f969a6b0f969fda00.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) (GH-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.
(cherry picked from commit 4beee0c7b0c2cc78a893dde88fd8e34099dcf877)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-06-15-21-35-11.gh-issue-91404.39TZzW.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-06-15-21-35-11.gh-issue-91404.39TZzW.rst b/Misc/NEWS.d/next/Library/2022-06-15-21-35-11.gh-issue-91404.39TZzW.rst new file mode 100644 index 0000000..e20b15c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-06-15-21-35-11.gh-issue-91404.39TZzW.rst @@ -0,0 +1,3 @@ +Revert the :mod:`re` memory leak when a match is terminated by a signal or +memory allocation failure as the implemented fix caused a major performance +regression. |