Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-91760: Deprecate group names and numbers which will be invalid in future #91794

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Apr 21, 2022

Only sequence of ASCII digits not starting with 0 (except group 0) will be
accepted as a numerical reference.
The group name in bytes patterns and replacement strings could only
contain ASCII letters and digits and underscore.

Closes #91760.

…id in future

Only sequence of ASCII digits not starting with 0 (except group 0) will be
accepted as a numerical reference.
The group name in bytes patterns and replacement strings could only
contain ASCII letters and digits and underscore.
Doc/whatsnew/3.11.rst Outdated Show resolved Hide resolved
@serhiy-storchaka serhiy-storchaka merged commit 19dca04 into python:main Apr 30, 2022
13 checks passed
@serhiy-storchaka serhiy-storchaka deleted the re-group-name-deprecate branch Apr 30, 2022
gvanrossum pushed a commit to gvanrossum/cpython that referenced this issue May 1, 2022
…id in future (pythonGH-91794)

Only sequence of ASCII digits will be accepted as a numerical reference.
The group name in bytes patterns and replacement strings could only
contain ASCII letters and digits and underscore.
gvanrossum pushed a commit to gvanrossum/cpython that referenced this issue May 1, 2022
…id in future (pythonGH-91794)

Only sequence of ASCII digits will be accepted as a numerical reference.
The group name in bytes patterns and replacement strings could only
contain ASCII letters and digits and underscore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants