STINNER Victor <victor.stin...@haypocalc.com> added the comment: punycode_errors.patch: - raise an error if errors="replace": only accept strict and ignore - use errors to encode/decode to/from ASCII - add unit tests
I don't think that the change should be documented, because punycode has no section in Doc/library/codecs.rst, and I hope that nobody uses something different than strict :-) ---------- keywords: +patch nosy: +loewis Added file: http://bugs.python.org/file22373/punycode_errors.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12263> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com