[issue8438] Codecs: "surrogateescape" error handler in Python 2.7

Marc-Andre Lemburg report at bugs.python.org
Sun Apr 18 13:37:52 CEST 2010

Marc-Andre Lemburg <mal at egenix.com> added the comment:

Martin v. Löwis wrote:
> Martin v. Löwis <martin at v.loewis.de> added the comment:
> -1 on backporting. The handler isn't really meant to be used in applications, plus 2.7 is in feature-freeze.

Since 2.7 is meant to be the last release of the 2.x series,
we have to make sure that it has all the bits necessary to make
porting apps to 3.x easy.

As a result, omissions such as the new handler which became
necessary after the change to the UTF-8 codec in 3.x deserve
special attention, overriding such self-imposed restrictions.

The handler is not meant to be used internally only. In fact,
it was the prerequisite for me to be +1 on the UTF-8 codec
change in 3.x.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list