[New-bugs-announce] [issue2541] Unicode escape sequences not parsed in raw strings.

John Millikin report at bugs.python.org
Thu Apr 3 06:19:06 CEST 2008


New submission from John Millikin <jmillikin at gmail.com>:

According to
<http://docs.python.org/dev/3.0/reference/lexical_analysis.html#id9>,
raw strings with \u and \U escape sequences should have these sequences
parsed as usual. However, they are currently escaped.

>>> r'\u0020'
'\\u0020'

Expected:
>>> r'\u0020'
' '

----------
components: Unicode
messages: 64890
nosy: jmillikin
severity: normal
status: open
title: Unicode escape sequences not parsed in raw strings.
type: behavior
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2541>
__________________________________


More information about the New-bugs-announce mailing list