[Python-Dev] Re: PEP239 (Rational Numbers) Reference Implementation and new issues
Greg Ewing
greg@cosc.canterbury.ac.nz
Mon, 07 Oct 2002 14:39:25 +1300 (NZDT)
Greg> If rationals and slice objects were the same thing,
Greg> it wouldn't matter!
Andrew> But then how would you distinguish between x[1:4] and x[2:8]?
Well, if you reduced the rational to lowest terms you
would have to keep the original values around for when
you were using it as a slice object...
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+