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

David Abrahams dave@boost-consulting.com
07 Oct 2002 18:56:09 -0400


Greg Ewing <greg@cosc.canterbury.ac.nz> writes:

Andrew> In that case, wouldn't you have a situation where a==b, a and Andrew> b are the same type, but x[a]!=x[b]?

Yes. Not such a good idea, I suppose. I've just had another idea: {2/3}

2r/3 would be nicer IMO.

-- David Abrahams * Boost Consulting dave@boost-consulting.com * http://www.boost-consulting.com