[pypy-issue] [issue1536] custom encoding/decoding error handlers are not compatible with CPython

Amaury Forgeot d Arc tracker at bugs.pypy.org
Fri Jul 12 13:15:57 CEST 2013

Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

Two different issues here:

- The difference with "\xe3\xa3" ('unexpected end of data') is probably an issue in pypy decoder, untested in python 
test suite.

- But CPython is incorrect for the first case: it displays the same range twice *when you print the exception*, but did 
you check exc.start and exc.end? See http://bugs.python.org/issue13830

nosy: +amaury
status: unread -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list