Is unicode_escape broken?

Mark Mc Mahon mtnbikingmark at gmail.com
Tue Dec 13 19:49:35 EST 2005


On 12/13/05, jepler at unpythonic.net <jepler at unpythonic.net> wrote:
>
> I also believe this is a bug.
>
> Here's an even shorter demonstration of the behavior:
> >>> u"\\".encode("unicode_escape").decode("unicode_escape")
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> UnicodeDecodeError: 'unicodeescape' codec can't decode byte 0x5c in
> position 0: \ at end of string
>
> To report a bug, follow the directions at the bottom of this page:
>     http://www.python.org/2.4.2/bugs.html
>

Bug Logged: 1379994  (
http://sourceforge.net/tracker/index.php?func=detail&aid=1379994&group_id=5470&atid=105470
)

Thanks,
   Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051213/2105cf8b/attachment.html>


More information about the Python-list mailing list