[Python-Dev] Need a way to test for 8-bit-or-unicode-string

Barry A. Warsaw barry@zope.com
Fri, 5 Oct 2001 13:04:39 -0400


>>>>> "M" == M  <mal@lemburg.com> writes:

    M> Are you sure about the -1 ? Using abstract base classes seems
    M> like a natural thing to do in an OO-language like Python while
    M> the isinstance() hack would not allow you to use your own
    M> UserList subclass for code which was written with sequences as
    M> input.

Yes, I'm sure: we need a PEP first.  Ideally it would answer some of
the questions raised above, and it would lay out the class hierarchy.

-Barry