[Python-ideas] float('∞')=float('inf')

Laurens Van Houtven _ at lvh.io
Fri Jul 12 14:59:41 CEST 2013


On Fri, Jul 12, 2013 at 2:54 PM, Joshua Landau <joshua at landau.ws> wrote:

> On 12 July 2013 13:36, Zaur Shibzukhov <szport at gmail.com> wrote:
> > Hello!
> >
> > Is it good idea to allow
> > float('∞') to be float('inf') in python?
>
> Why?
>

Because it obviously means infinity -- much more so than "inf" does :)

cheers
lvh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130712/aa5f5a58/attachment.html>


More information about the Python-ideas mailing list