New submission from STINNER Victor <victor.stin...@haypocalc.com>: b'abc\xff'.decode('punycode', 'ignore') raises the same error than b'abc\xff'.decode('punycode', 'replace') or b'abc\xff'.decode('punycode'): it uses the strict error handler, and simply ignores the error handler.
punycodec, as idna, should raise an exception if the error handler is different than strict. ---------- messages: 137666 nosy: haypo priority: normal severity: normal status: open title: punycode codec ignores the error handler argument versions: Python 2.7, Python 3.2, Python 3.3 _______________________________________ 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