[issue25880] u'..'.encode('idna') → UnicodeError: label empty or too long

Serhiy Storchaka report at bugs.python.org
Fri Dec 18 13:51:49 EST 2015


Serhiy Storchaka added the comment:

The bare UnicodeError is raised also by following codecs: utf_16, utf_32, punycode, undefined, and East-Asian multibyte codecs, and by undocumented an unused function urllib.urlparse.to_bytes().

I think it would be nice to be more specific if possible.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25880>
_______________________________________


More information about the Python-bugs-list mailing list