How about adding rational fraction to Python?

J. Cliff Dyer jcd at sdf.lonestar.org
Thu Feb 28 13:32:06 EST 2008


On Thu, 2008-02-28 at 11:22 -0500, D'Arcy J.M. Cain wrote:
> Not obvious to you.  You are using subjective perception as if it was
> a
> law of nature.  If "obvious" was the criteria then I would argue that
> the only proper result of integer division is (int, int).  Give me the
> result and the remainder and let me figure it out. 

I'd like to point out that now you are talking about int OP int
returning a tuple, not an int.






More information about the Python-list mailing list