GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — gh-133197: Improve error message for `ft""` and `bt""` cases by sobolevn · Pull Request #133202 · python/cpython Conversation
|
|
Hm, looks like other string prefixes can also conflict with no clear message. Examples: >>> tb'' File "<python-input-3>", line 1 tb'' ^^ SyntaxError: invalid syntax >>> fb'' File "<python-input-0>", line 1 fb'' ^^ SyntaxError: invalid syntax >>> ru'' File "<python-input-1>", line 1 ru'' ^^ SyntaxError: invalid syntax >>> bu'' File "<python-input-2>", line 1 bu'' ^^ SyntaxError: invalid syntax Let's handle all |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ft"" caseft"" and bt"" cases
There was a problem 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?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ft"" and bt"" casesft"" and bt"" cases
There was a problem 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.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.