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

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Wed Oct 2 21:20:40 EDT 2002


Guido van Rossum <guido at python.org> writes:
> I'm all for adding rationals to the language -- but I'd like them
> segregated until we have a lot more experience with how they behave.

Maybe we need yet another new operator:

   3 / 2  => 1.5
   3 // 2 => 1
   3 /// 2 => 3/2

This is half-joking, half serious.



More information about the Python-list mailing list