Re: a.index(float('nan')) fails
On 25Oct2012 22:04, Terry Reedy <email@example.com> wrote:
| Containment of nan in collection is tested by is, not ==.
| >>> nan = float('nan')
| >>> nan2 = float('nan')
| >>> nan2 is nan
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.
Cameron Simpson <firstname.lastname@example.org>
In article 1t8n9hINNq9j@dns1.NMSU.Edu, email@example.com (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.Green@East.Sun.COM, DoD#0111
|All times are GMT. The time now is 06:15 PM.|
SEO by vBSEO ©2010, Crawlability, Inc.