Issue2192
Created on 2008-02-25 20:18 by aka, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg62997 - (view) | Author: (aka) | Date: 2008-02-25 20:18 | |
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. |
|||
| msg62998 - (view) | Author: Raghuram Devarakonda (draghuram) ![]() |
Date: 2008-02-25 20:20 | |
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. |
|||
| msg63052 - (view) | Author: (aka) | Date: 2008-02-26 19:32 | |
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 <report@bugs.python.org> > <http://bugs.python.org/issue2192> > __________________________________ > |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:31 | admin | set | github: 46445 |
| 2008-02-26 19:32:26 | aka | set | messages: + msg63052 |
| 2008-02-25 20:20:48 | draghuram | set | status: open -> closed resolution: not a bug messages: + msg62998 nosy: + draghuram |
| 2008-02-25 20:18:25 | aka | create | |
