FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-98401: Reject invalid escape sequences in strings by vstinner · Pull Request #98404 · python/cpython · GitHub

/ cpython Public

gh-98401: Reject invalid escape sequences in strings - #98404

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:reject_invalid_escape
Closed

gh-98401: Reject invalid escape sequences in strings#98404
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:reject_invalid_escape

Conversation

vstinner commented Oct 18, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

A backslash-character pair that is not a valid escape sequence now generates a SyntaxError.

A backslash-character pair that is not a valid escape sequence now
generates a SyntaxError.

Copy link
Copy Markdown
Member Author

cc @serhiy-storchaka @hugovk

vstinner marked this pull request as draft October 20, 2022 09:45

Copy link
Copy Markdown
Member Author

I convert this PR to a draft since this change seems to be more controversial than expected: #98401

vstinner commented Nov 2, 2022

Copy link
Copy Markdown
Member Author

PR abandoned in favor of #99011

vstinner closed this Nov 2, 2022
vstinner deleted the reject_invalid_escape branch November 2, 2022 16:21
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL