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 giampaolo.rodola, loewis, r.david.murray
Date 2010-08-26.22:54:56
SpamBayes Score 8.83541e-05
Marked as misclassified No
Message-id <>
In-reply-to <>
> Ah, I wondered if it was something like that
> (encoding=>UnicodeError).  It's not really a *unicode* error, it's a
> syntax error in the domain name construction (ie: it is invalid
> whether or not unicode is involved, it just isn't caught in 2.x for
> non-unicode domain names), but oh well.

It's perhaps dubious whether IDNA is an encoding at all. Punycode
certainly is, but IDNA only applies to (DNS) names. However, if
you take the stance that IDNA converts Unicode names into bytes
names, and is therefore an encoding, then this encoding is undefined
for certain Unicode strings. If the encoding is undefined, the exception
is a UnicodeError (unless there are errors in the code
of the codec itself, such as MemoryErrors, but that's not the case
Date User Action Args
2010-08-26 22:54:58loewissetrecipients: + loewis, giampaolo.rodola, r.david.murray
2010-08-26 22:54:56loewislinkissue9682 messages
2010-08-26 22:54:56loewiscreate