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

Laurens Van Houtven _ at lvh.io
Fri Jul 12 15:55:25 CEST 2013


On Fri, Jul 12, 2013 at 3:48 PM, Gerald Britton <gerald.britton at gmail.com>wrote:

> OK, so you need users with Greek keyboards, I suppose.  I'm not sure
> the number of those that also use Python applications justifies adding
> this kind of sugar to the language.
>

I'm not sure why you're so focused on keyboards. Perhaps "user input" was a
poor choice of words on my part: that may just as well come from a
different computer :) Or maybe it's a parsed mathematical document. It
doesn't necessarily literally have to be typed in by someone.

Joshua, elsewhere in this thread, already enumerated all the things float
currently accepts. I hope you'll agree that they're far, far more exotic
than an infinity sign.


> --
> Gerald Britton
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130712/bc541c9d/attachment.html>


More information about the Python-ideas mailing list