◐ Shell
clean mode source ↗

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

Closed

ghost

wants to merge 2 commits into

mainfrom

unknown repository

Conversation

@ghost

In nesting repeats, a repeat context may have multiple active existences at the same time.
So 6e3eee5's method is wrong.

…ted by a signal or memory allocation failure (GH-32283)"

This reverts commit 6e3eee5.

@gpshead

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 ghost closed this

Jun 16, 2022

This pull request was closed.

Labels