Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-133197: Improve error message forft""
andbt""
cases#133202
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Hm, looks like other string prefixes can also conflict with no clear message. Examples: >>>tb''File"<python-input-3>",line1tb''^^SyntaxError:invalidsyntax>>>fb''File"<python-input-0>",line1fb''^^SyntaxError:invalidsyntax>>>ru''File"<python-input-1>",line1ru''^^SyntaxError:invalidsyntax>>>bu''File"<python-input-2>",line1bu''^^SyntaxError:invalidsyntax Let's handle all |
ft""
caseft""
andbt""
casesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Left a couple of comments inline. Also, it appears that the issue number is wrong. Could you change it please?
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
ft""
andbt""
casesft""
andbt""
casesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM! This is a nice improvement! Let's follow up with the rest of the prefixes.
b451516
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Refs#133197