[pypy-dev] More strategies

Laurence Tratt laurie at tratt.net
Thu Nov 7 23:51:08 CET 2013


On Thu, Nov 07, 2013 at 11:42:47PM +0100, Amaury Forgeot d'Arc wrote:

> Hum, [1,2,3].__contains__(1.9)?

Good point. This is something I clearly got wrong.

Is there a practical way to tell if a float could ever compare True to an
integer? I suppose I could convert it to an int, and do a comparison back to
the float?


Laurie


More information about the pypy-dev mailing list