![](https://secure.gravatar.com/avatar/047f2332cde3730f1ed661eebb0c5686.jpg?s=120&d=mm&r=g)
Aug. 9, 2004
11:47 a.m.
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
?
I think this would be a good idea; maybe the name should be baseinteger? I think it's been suggested before, and can't remember why it wasn't implemented -- perhaps the use cases aren't as compelling as for basestring? --Guido van Rossum (home page: http://www.python.org/~guido/)