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 loewis
Recipients loewis, r.david.murray, vstinner
Date 2011-06-21.20:15:35
SpamBayes Score 0.007548448
Marked as misclassified No
Message-id <4E00FBE6.9070800@v.loewis.de>
In-reply-to <1308649123.26.0.549653620786.issue12263@psf.upfronthosting.co.za>
Content
> Oh, I forgot to give a little bit more details.
> 
> b'abc\xff-'.decode('punycode', 'ignore') and
> b'abc\xff-'.decode('punycode', 'replace') raise a UnicodeDecodeError:
> the error handler is just useless (ignored) here.

That's not my point:

b"foo".decode("punycode","replace")

currently succeeds, but raises an UnicodeError under the patch.
History
Date User Action Args
2011-06-21 20:15:36loewissetrecipients: + loewis, vstinner, r.david.murray
2011-06-21 20:15:35loewislinkissue12263 messages
2011-06-21 20:15:35loewiscreate