[issue25978] escape sequence r'\' giving compilation error

2015-12-29 Thread R. David Murray
R. David Murray added the comment: https://docs.python.org/3/faq/design.html?highlight=raw%20strings#why-can-t-raw-strings-r-strings-end-with-a-backslash -- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue25978] escape sequence r'\' giving compilation error

2015-12-29 Thread Kiran Kotari
New submission from Kiran Kotari: >>> '\test'.lstrip(r'\') SyntaxError: EOL while scanning string literal -- components: 2to3 (2.x to 3.x conversion tool) messages: 257221 nosy: Kiran Kotari priority: normal severity: normal status: open title: escape sequence r'\' giving