"Decoding unicode is not supported" in unusual situation

Diez B. Roggisch deets at web.de
Wed Mar 7 05:20:33 EST 2012


John Nagle <nagle at animats.com> writes:

> I think that somewhere in "suds", they subclass the "unicode" type.
> That's almost too cute.
>
> The proper test is
>
> 	isinstance(s,unicode)


Woot, you finally discovered polymorphism - congratulations!

Diez



More information about the Python-list mailing list