[issue12252] '\u' in unicode raw string raise an syntax error

2011-06-03 Thread Amaury Forgeot d'Arc
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'

[issue12252] '\u' in unicode raw string raise an syntax error

2011-06-03 Thread Hanöfner Harald
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