raise UnicodeError, "label too long"

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Wed Jan 24 16:23:25 EST 2007


In <1169672223.231030.262610 at l53g2000cwa.googlegroups.com>, Flavio wrote:

> Hi I am havin a problem with urllib2.urlopen.
> 
> I get this error when I try to pass a unicode to it.
> 
> raise UnicodeError, "label too long"
> 
> is this problem avoidable? no browser or programs such as wget seem to
> have a problem with these strings.

What exactly are you doing?  How does a (unicode?) string look like that
triggers this exception?

Ciao,
	Marc 'BlackJack' Rintsch




More information about the Python-list mailing list