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

Fred L. Drake, Jr. fdrake@acm.org
Fri, 5 Oct 2001 23:44:48 -0400


Guido van Rossum writes:
 > Followup question: should I also implement issubclass(X, (A, B, C...))?
 > 
 > It's consistent to do so, but it's more work (issubclass is a bit
 > murkier due to the "abstract subclass" support), and I'm not sure that
 > it has the same benefits...

  They're similar, but they're usage is not.  Let's keep issubclass()
simple until we know there's a reason to change it.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation