Martin v. Löwis <mar...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue13093> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com