> Using double backslashes won't cause that reaction: > > os.stat("c:\\windows\\system32\\user32.dll") Please refer to the subject. We are talking about raw strings. >> Windows path names are one of the two primary applications of raw >> strings (the other being regexes). > > IMHO the primary use case are regexps It's not a matter of opinion. It's a statistical fact that these are the two cases where people use raw strings most. > and for those you'd > definitely want to be able to put Unicode characters into your > expressions. For regular expressions, you don't need them as part of the string literal syntax: The re parser itself could support \u, just like it supports \x today. > BTW, if you use ur"..." for your expressions today (which you should > if you parse text), then nothing will change when removing the > 'u' prefix in Py3k. How do you know? Py3k hasn't been released, yet. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4