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

This commit is contained in:
Ma Lin 2022-04-04 00:16:20 +08:00 committed by GitHub
parent b82cdd1dac
commit 6e3eee5c11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 151 additions and 71 deletions

View file

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