ces+ddicato=microsoft@python.org] On Behalf Of
Steven D'Aprano
Sent: Tuesday, February 16, 2010 2:47 PM
To: python-dev@python.org
Subject: Re: [Python-Dev] math.hypot, complex.__abs__, and documentation
On Wed, 17 Feb 2010 08:19:00 am David DiCato wrote:
> I have a minor concern about ce
Ok, thanks! It's submitted as issue 7947.
- David
-Original Message-
From: Mark Dickinson [mailto:dicki...@gmail.com]
Sent: Tuesday, February 16, 2010 2:15 PM
To: David DiCato
Cc: python-dev@python.org
Subject: Re: [Python-Dev] math.hypot, complex.__abs__, and documentation
On Tue
I have a minor concern about certain corner cases with math.hypot and
complex.__abs__, namely when one component is infinite and one is not a number.
If we execute the following code:
import math
inf = float('inf')
nan = float('nan')
print math.hypot(inf, nan)
print abs(complex(nan, inf))
... t