How about adding rational fraction to Python?
D'Arcy J.M. Cain
darcy at druid.net
Thu Feb 28 14:58:03 EST 2008
On Thu, 28 Feb 2008 13:32:06 -0500
"J. Cliff Dyer" <jcd at sdf.lonestar.org> wrote:
> 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.
Which would be stupid. Good thing I don't think that "obvious" should
be the criteria.
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the Python-list
mailing list