[Python-Dev] Int FutureWarnings and other 2.4 TODOs (original) (raw)
Michael Hudson mwh at python.net
Wed Dec 3 05:56:35 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 ]
Greg Ewing <greg at cosc.canterbury.ac.nz> writes:
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'.
That's quite a nice idea -- a bit like an Objective C class cluster.
Cheers, mwh
-- ZAPHOD: You know what I'm thinking? FORD: No. ZAPHOD: Neither do I. Frightening isn't it? -- The Hitch-Hikers Guide to the Galaxy, Episode 11
- 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 ]