[Python-Dev] Re: PEP239 (Rational Numbers) Reference Implementation and new issues

Andrew Koenig ark@research.att.com
06 Oct 2002 21:32:52 -0400


Skip> Does x[1:4] return a slice out of x or x[rational(1,4)]?

Greg> If rationals and slice objects were the same thing,
Greg> it wouldn't matter!

But then how would you distinguish between x[1:4] and x[2:8]?

-- 
Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark