Is nan in (nan,) correct?

Chris Angelico rosuav at gmail.com
Fri Mar 6 05:01:06 EST 2015


On Fri, Mar 6, 2015 at 8:50 PM, Rustom Mody <rustompmody at gmail.com> wrote:
> In a language like python with decent exceptions we do not need nans.

Not so. I could perhaps accept that we don't need signalling NaNs, as
they can be replaced with exceptions, but quiet NaNs are by definition
_not_ exceptions.

ChrisA



More information about the Python-list mailing list