Martin v. Löwis <mar...@v.loewis.de> added the comment: Here is a patch that implements this proposed approach. It introduces a "surrogates" error handler, useful only for the utf-8 codec.
If this is accepted, the implementation of PEP 383 can be simplified significantly, essentially removing the need for a separate utf-8b codec (as that could be done in the error handler, as for the other codecs). ---------- assignee: -> benjamin.peterson keywords: +patch nosy: +benjamin.peterson priority: high -> release blocker Added file: http://bugs.python.org/file13827/surrogates.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3672> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com