[issue13093] Redundant code in PyUnicode_EncodeDecimal()
Martin v. Löwis
report at bugs.python.org
Wed Nov 9 21:22:39 CET 2011
Martin v. Löwis <martin at v.loewis.de> added the comment:
AFAICT, this code was introduced in 0337dad8403e, implementing PEP 293 (see #432401). The intention clearly was what Stefan figured out: compute the list of unencodable characters, to pass the longest run of unencodable characters to the error handler.
Fixing this in this respect is fine with me for all branches.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13093>
_______________________________________
More information about the Python-bugs-list
mailing list