[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)
Navigation Menu
Appearance settings
- AI CODE CREATION
* GitHub CopilotWrite better code with AI
* GitHub SparkBuild and deploy intelligent apps
* GitHub ModelsManage and compare prompts
* MCP RegistryNewIntegrate external tools - DEVELOPER WORKFLOWS
* ActionsAutomate any workflow
* CodespacesInstant dev environments
* IssuesPlan and track work
* Code ReviewManage code changes - APPLICATION SECURITY
* GitHub Advanced SecurityFind and fix vulnerabilities
* Code securitySecure your code as you build
* Secret protectionStop leaks before they start - EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
- AI CODE CREATION
- BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits - BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases - BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
- BY COMPANY SIZE
- EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics - EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills - SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
- EXPLORE BY TOPIC
- COMMUNITY
* GitHub SponsorsFund open source developers - PROGRAMS
* Security Lab
* Maintainer Community
* Accelerator
* GitHub Stars
* Archive Program - REPOSITORIES
* Topics
* Trending
* Collections
- COMMUNITY
- Pricing
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
Appearance settings
Notifications You must be signed in to change notification settings
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
serhiy-storchaka merged 1 commit intopython:3.13from
serhiy-storchaka:revert-backport-fa9c3ee-3.13
Conversation
Copy link Copy Markdown
Member
serhiy-storchaka commented
•
edited by bedevere-appbot
Loading
This reverts commit ee894d2.
wjssz reacted with thumbs up emoji
`[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 bot mentioned this pull request
Crash when using multiple capturing groups in re.Scanner #140797
Closed
bedevere-app bot added the awaiting core review label
picnixz changed the title
Revert "[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)"
bedevere-app bot mentioned this pull request
[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944)#140983
Merged
gpshead approved these changes Dec 5, 2025
bedevere-app bot added awaiting merge and removed awaiting core review labels
serhiy-storchaka merged commit 6f47a13 into python:3.13
76 of 78 checks passed
bedevere-app bot removed the awaiting merge label
serhiy-storchaka deleted the revert-backport-fa9c3ee-3.13 branch
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 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.