[New-bugs-announce] [issue17850] unicode_escape encoding fails for '\\Upsilon'
Edward K. Ream
report at bugs.python.org
Fri Apr 26 15:44:53 CEST 2013
New submission from Edward K. Ream:
On both windows and Linux the following fails on Python 2.7:
s = '\\Upsilon'
unicode(s,"unicode_escape")
UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 0-7: end of string in escape sequence
BTW, the six.py package uses this call. If this call doesn't work, six is broken.
----------
components: Library (Lib)
messages: 187852
nosy: Edward.K..Ream
priority: normal
severity: normal
status: open
title: unicode_escape encoding fails for '\\Upsilon'
type: crash
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17850>
_______________________________________
More information about the New-bugs-announce
mailing list