[3.13] Revert "[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944) (GH-140983)" by serhiy-storchaka · Pull Request #142231 · python/cpython (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

View all resources

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

python / cpython Public

Additional navigation options

Merged

serhiy-storchaka merged 1 commit intopython:3.13from

serhiy-storchaka:revert-backport-fa9c3ee-3.13

Dec 5, 2025

ConversationCommits (1)ChecksFiles changed

Merged

[3.13] Revert "[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944) (GH-140983)"#142231

serhiy-storchaka merged 1 commit intopython:3.13from

serhiy-storchaka:revert-backport-fa9c3ee-3.13

Conversation

@serhiy-storchaka

Copy link Copy Markdown

Member

@serhiy-storchaka serhiy-storchaka commented

Dec 3, 2025

edited by bedevere-appbot

Loading

This reverts commit ee894d2.

wjssz reacted with thumbs up emoji

@serhiy-storchaka

`[Revert "[3.13]](/python/cpython/pull/142231/commits/3afcd4c66fdd3424af27d24f908fd0bc8fe74ee7 "Revert "[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944) (GH-140983)"

This reverts commit ee894d2abbdb9678f4cecdc15707496a0eea7f85.") pythongh-140797[: Forbid capturing groups in re.Scanner…](/python/cpython/pull/142231/commits/3afcd4c66fdd3424af27d24f908fd0bc8fe74ee7 "Revert "[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944) (GH-140983)"

This reverts commit ee894d2abbdb9678f4cecdc15707496a0eea7f85.") `

[3afcd4c](/python/cpython/pull/142231/commits/3afcd4c66fdd3424af27d24f908fd0bc8fe74ee7)

… lexicon patterns (pythonGH-140944) (pythonGH-140983)"

This reverts commit ee894d2.

@bedevere-app bedevere-app bot mentioned this pull request

Dec 3, 2025

Crash when using multiple capturing groups in re.Scanner #140797

Closed

@bedevere-app bedevere-app bot added the awaiting core review label

Dec 3, 2025

@picnixz picnixz changed the titleRevert "[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944) (GH-140983)" [3.13] Revert "[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944) (GH-140983)"

Dec 3, 2025

@bedevere-app bedevere-app bot mentioned this pull request

Dec 3, 2025

[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944)#140983

Merged

gpshead

gpshead approved these changes Dec 5, 2025

View reviewed changes

@bedevere-app bedevere-app bot added awaiting merge and removed awaiting core review labels

Dec 5, 2025

@serhiy-storchaka serhiy-storchaka merged commit 6f47a13 into python:3.13

Dec 5, 2025

76 of 78 checks passed

@bedevere-app bedevere-app bot removed the awaiting merge label

Dec 5, 2025

@serhiy-storchaka serhiy-storchaka deleted the revert-backport-fa9c3ee-3.13 branch

December 5, 2025 13:31

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

[ Show hidden characters]({{ revealButtonHref }})

Sign up for free to join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gpshead gpshead gpshead approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@serhiy-storchaka @gpshead