> 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/)