[Python-Dev] Comparison speed

Guido van Rossum guido@digicool.com
Wed, 16 May 2001 10:01:40 -0500


> Marc-Andre once proposed a type representing the immediate supertype
> of both byte strings and unicode strings; let's call it abstract string.
> Then I could write isinstance(e, types.AbstractString).

This will probably be doable in 2.2.

--Guido van Rossum (home page: http://www.python.org/~guido/)