[Python-Dev] Int FutureWarnings and other 2.4 TODOs (original) (raw)
Greg Ewing greg at cosc.canterbury.ac.nz
Tue Dec 2 18:32:17 EST 2003
- Previous message: [Python-Dev] Int FutureWarnings and other 2.4 TODOs
- Next message: [Python-Dev] Int FutureWarnings and other 2.4 TODOs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 +--------------------------------------+
- Previous message: [Python-Dev] Int FutureWarnings and other 2.4 TODOs
- Next message: [Python-Dev] Int FutureWarnings and other 2.4 TODOs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]