gh-91404: Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or memory allocation failure (GH-32283)" · Pull Request #93559 · python/cpython
Conversation
In nesting repeats, a repeat context may have multiple active existences at the same time.
So 6e3eee5's method is wrong.
I created a similar PR as I hadn't seen this one mentioned on the #91404 issue.
At a quick glance without diving deep to compare diffs, the MAGIC constants are not being updated by this PR while I decided to do that in mine.
ghost
closed this
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters