[New-bugs-announce] [issue2557] \u and \U in raw strings have reverted
Guido van Rossum
report at bugs.python.org
Sat Apr 5 16:45:36 CEST 2008
New submission from Guido van Rossum <guido at python.org>:
In 2.x, \uDDDD and \UDDDDDDDD are interpreted as Unicode escapes in
raw Unicode strings. That was a mistake, but we can't fix it (except
when using "from __future__ import unicode_literals"). In 3.0, \u or
\U in a raw string should have no special meaning -- it's just a
backslash followed by 'u' or 'U'.
This was fixed in 3.0a3. It seems to have reverted to the old (2.x)
behavior in 3.0a4.
THIS MUST BE FIXED!
priority: release blocker
title: \u and \U in raw strings have reverted
versions: Python 3.0
Tracker <report at bugs.python.org>
More information about the New-bugs-announce