[Python-Dev] Unifying Long Integers and Integers: baseint

Dmitry Vasiliev lists at hlabs.spb.ru
Mon Aug 9 13:52:54 CEST 2004


Is there a plan for implementing a base class for int and long (like 
basestring for str and unicode):

 >>> issubclass(int, baseint) and issubclass(long, baseint)
True

?

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru


More information about the Python-Dev mailing list