This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2011-06-04.23:16:17
SpamBayes Score 0.00037284015
Marked as misclassified No
Message-id <1307229378.45.0.142684435058.issue12263@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-06-04 23:16:18vstinnersetrecipients: + vstinner
2011-06-04 23:16:18vstinnersetmessageid: <1307229378.45.0.142684435058.issue12263@psf.upfronthosting.co.za>
2011-06-04 23:16:17vstinnerlinkissue12263 messages
2011-06-04 23:16:17vstinnercreate