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

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 08 Oct 2002 11:38:29 +1300 (NZDT)


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}

This can't be confused with a dict, because there's
no ":" in it.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+