[issue2192] error with backslash as last character in raw string
New submission from aka: When creating a raw string ending with a backslash the systems answers with an error: >>> r'c:\' SyntaxError: EOL while scanning single-quoted string This happens on many systems with many versions, so it is propably a problem of the interpreter itself. -- components: Interpreter Core messages: 62997 nosy: aka severity: normal status: open title: error with backslash as last character in raw string type: compile error versions: Python 2.3, Python 2.4, Python 2.5 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2192> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2192] error with backslash as last character in raw string
aka added the comment: Hello Raghuram, thanks for your reply. I am sorry that I didn't find this description before posting the error. But, reading the description I still find the behaviour of the interpreter a bug ;-) Regards, Axel Raghuram Devarakonda schrieb: > Raghuram Devarakonda added the comment: > > This is as per the design. Please see > http://www.python.org/doc/faq/general/#why-can-t-raw-strings-r-strings-end-with-a-backslash. > > -- > nosy: +draghuram > resolution: -> invalid > status: open -> closed > > __ > Tracker <[EMAIL PROTECTED]> > <http://bugs.python.org/issue2192> > __ > __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2192> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com