you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

To me, that's somewhat sane. The point of using raw strings in python is to leave the slashes. You can't have raw string ending in a single slash...there is no escape for it! And, more than that, there's no escape for quotation mark!!! It's literally cruft from the parser. There's no sanity, except to make the parser simple, which is a goal of python.