We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = <Date 2018-03-13.13:07:05.581> created_at = <Date 2018-03-13.12:50:49.361> labels = ['interpreter-core', 'invalid'] title = 'Inconsistencies in parsing (evaluating?) longstrings' updated_at = <Date 2018-03-13.13:52:10.476> user = 'https://github.com/dlukes'
bugs.python.org fields:
activity = <Date 2018-03-13.13:52:10.476> actor = 'dlukes' assignee = 'none' closed = True closed_date = <Date 2018-03-13.13:07:05.581> closer = 'serhiy.storchaka' components = ['Interpreter Core'] creation = <Date 2018-03-13.12:50:49.361> creator = 'dlukes' dependencies = [] files = [] hgrepos = [] issue_num = 33068 keywords = [] message_count = 3.0 messages = ['313745', '313746', '313748'] nosy_count = 2.0 nosy_names = ['serhiy.storchaka', 'dlukes'] pr_nums = [] priority = 'normal' resolution = 'not a bug' stage = 'resolved' status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue33068' versions = ['Python 3.6']
The text was updated successfully, but these errors were encountered:
""" \""" """ evaluates to ' """ ' (as expected), but without the surrounding spaces, """\"""""" evaluates to '"' instead of '"""'.
Is this expected behavior? If I'm reading the definition of string syntax in https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals correctly, it shouldn't be.
Sorry, something went wrong.
"""\"""""" is parsed as """\"""" "": a triple-quoted string containing an escaped '"', followed by an empty single-quoted string.
Oh, right, of course! Sorry and thanks for taking the time to clarify that :)
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: