[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

Ezio Melotti report at bugs.python.org
Thu May 17 20:59:28 CEST 2012


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

> I probably poorly said. Past and current implementations raise
> 'unexpected end of data' and not 'invalid continuation byte'. Test
> expects 'invalid continuation byte'.

I don't think it matters much either way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8271>
_______________________________________


More information about the Python-bugs-list mailing list