Skip to content

Conversation

@ericvsmith
Copy link
Member

@ericvsmith ericvsmith commented May 26, 2025

@ericvsmith ericvsmith changed the title gh-134675: Add t-string prefixes to tokenizer module, and add a test to make sure we catch this error in the future. gh-134675: Add t-string prefixes to tokenizer module, lexical analysis doc, and add a test to make sure we catch this error in the future. May 26, 2025
@ericvsmith ericvsmith merged commit 08c78e0 into python:main May 26, 2025
39 checks passed
@miss-islington-app
Copy link

Thanks @ericvsmith for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 26, 2025
…nalysis doc, and add a test to make sure we catch this error in the future. (pythonGH-134734)

* Add t-string prefixes to _all_string_prefixes, and add a test to make sure we catch this error in the future.

* Update lexical analysis docs for t-string prefixes.
(cherry picked from commit 08c78e0)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
@ericvsmith ericvsmith deleted the issue-134675 branch May 26, 2025 17:49
@bedevere-app
Copy link

bedevere-app bot commented May 26, 2025

GH-134739 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label May 26, 2025
ericvsmith added a commit that referenced this pull request May 26, 2025
…analysis doc, and add a test to make sure we catch this error in the future. (GH-134734) (#134739)

gh-134675: Add t-string prefixes to tokenizer module, lexical analysis doc, and add a test to make sure we catch this error in the future. (GH-134734)

* Add t-string prefixes to _all_string_prefixes, and add a test to make sure we catch this error in the future.

* Update lexical analysis docs for t-string prefixes.
(cherry picked from commit 08c78e0)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
@ericvsmith
Copy link
Member Author

See #134752 for improving the performance of the tests.

Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…nalysis doc, and add a test to make sure we catch this error in the future. (python#134734)

* Add t-string prefixes to _all_string_prefixes, and add a test to make sure we catch this error in the future.

* Update lexical analysis docs for t-string prefixes.
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…nalysis doc, and add a test to make sure we catch this error in the future. (python#134734)

* Add t-string prefixes to _all_string_prefixes, and add a test to make sure we catch this error in the future.

* Update lexical analysis docs for t-string prefixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.14 bugs and security fixes skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant