On 25Oct2012 22:04, Terry Reedy <tjre...@udel.edu> wrote: | Containment of nan in collection is tested by is, not ==. | >>> nan = float('nan') | >>> nan2 = float('nan') | >>> nan2 is nan | False
This argues otherwise, and for use of math.isnan() instead. I expect you were making the point that another NaN is distinct, but it didn't seem clear to me. Cheers, -- Cameron Simpson <c...@zip.com.au> In article 1t8n9hinn...@dns1.nmsu.edu, mcri...@acca.nmsu.edu (Mcrider) writes: >Could one of you physicist-type cyber-riders give a lucid description/ >explanation of what some folks loosely refer to as a 'tank-slapper'? An undamped oscillation of camber thrust, with positive feedback, applied to the front contact patch? :^) - Ed Green, ed.gr...@east.sun.com, DoD#0111 -- http://mail.python.org/mailman/listinfo/python-list