[Python-Dev] Int FutureWarnings and other 2.4 TODOs

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Dec 2 18:32:17 EST 2003

Andrew Koenig <ark-mlist at att.net>

> I think that int should be the base class, because I can imagine long
> supporting operations that int does not support, but not vice versa.

Perhaps 'int' should be an abstract class, with concrete
subclasses 'long' and 'short'.

And 'bool' would fit into this family as a sort of
"extremely short int".

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list