[issue17501] cannot create a raw string ending in backslash

2013-03-20 Thread STINNER Victor
STINNER Victor added the comment: This is part of the Python language (syntax). If the workaround is documented, we cannot do anything else, so I'm closing the issue. -- ___ Python tracker

[issue17501] cannot create a raw string ending in backslash

2013-03-20 Thread Thomas Fenzl
Changes by Thomas Fenzl : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue17501] cannot create a raw string ending in backslash

2013-03-20 Thread Thomas Fenzl
Thomas Fenzl added the comment: right, and I only just saw it's documented -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17501] cannot create a raw string ending in backslash

2013-03-20 Thread STINNER Victor
STINNER Victor added the comment: Correct, but it's easy to work around this issue. For example: >>> print(r"a" "\\") a\ -- nosy: +haypo ___ Python tracker ___ _

[issue17501] cannot create a raw string ending in backslash

2013-03-20 Thread Thomas Fenzl
New submission from Thomas Fenzl: r'\' and r"\" cannot be parsed, because the backslash escapes the quotation ending the string, leading to a syntax error -- messages: 184815 nosy: Thomas Fenzl priority: normal severity: normal status: open title: cannot create a raw string ending in ba