Amaury Forgeot d'Arc added the comment:
Even in "raw" unicode strings, \u is processed as an escape sequence; see the
very last paragraph of
http://docs.python.org/reference/lexical_analysis.html#string-literals
Yes, this can be surprising, and was changed with Python 3.
Python 2 versions can'
New submission from Hanöfner Harald :
The follow code:
s = ur"c:\that\is\a\new\unicode\path"
raise the follow error:
SyntaxError: (unicode error) 'rawunicodeescape' codec can't decode bytes in
position 10-11: truncated \u
That is already corrected in Py 3 builds.
--
components: In