Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escape sequence r'\' giving compilation error #70166

Closed
kirankotari mannequin opened this issue Dec 30, 2015 · 2 comments
Closed

escape sequence r'\' giving compilation error #70166

kirankotari mannequin opened this issue Dec 30, 2015 · 2 comments
Labels
build The build process and cross-build topic-2to3

Comments

@kirankotari
Copy link
Mannequin

kirankotari mannequin commented Dec 30, 2015

BPO 25978
Nosy @bitdancer

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:

assignee = None
closed_at = <Date 2015-12-30.01:50:38.878>
created_at = <Date 2015-12-30.01:37:40.064>
labels = ['invalid', 'build', 'expert-2to3']
title = "escape sequence r'\\' giving compilation error"
updated_at = <Date 2015-12-30.01:50:38.872>
user = 'https://bugs.python.org/KiranKotari'

bugs.python.org fields:

activity = <Date 2015-12-30.01:50:38.872>
actor = 'r.david.murray'
assignee = 'none'
closed = True
closed_date = <Date 2015-12-30.01:50:38.878>
closer = 'r.david.murray'
components = ['2to3 (2.x to 3.x conversion tool)']
creation = <Date 2015-12-30.01:37:40.064>
creator = 'Kiran Kotari'
dependencies = []
files = []
hgrepos = []
issue_num = 25978
keywords = []
message_count = 2.0
messages = ['257221', '257222']
nosy_count = 2.0
nosy_names = ['r.david.murray', 'Kiran Kotari']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue25978'
versions = ['Python 3.5']

@kirankotari
Copy link
Mannequin Author

kirankotari mannequin commented Dec 30, 2015

>>> '\test'.lstrip(r'\')
	       
SyntaxError: EOL while scanning string literal

@kirankotari kirankotari mannequin added topic-2to3 build The build process and cross-build labels Dec 30, 2015
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build topic-2to3
Projects
None yet
Development

No branches or pull requests

1 participant