<div class="gmail_quote">On Tue, Feb 10, 2009 at 2:36 PM, Cesare Di Mauro <span dir="ltr"><<a href="mailto:cesare.dimauro@a-tono.com">cesare.dimauro@a-tono.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
OK, so I can make assumptions only for built-in types.<br>
</blockquote></div><br>Yes, but even there you have to be careful of odd corner-cases, such as:<br><br>>>> nan = float('nan')<br>>>> nan < nan<br>False<br>>>> nan >= nan<br>False<br>
<blockquote style="margin: 1.5em 0pt;">--<br>
Daniel Stutzbach, Ph.D.<br>
President, <a href="http://stutzbachenterprises.com">Stutzbach Enterprises, LLC</a>
</blockquote>