Issue 1729: Allow float('infinity') as well as float('inf') (original) (raw)
Issue1729
Created on 2008-01-03 19:39 by mark.dickinson, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg59146 - (view) | Author: Mark Dickinson (mark.dickinson) * ![]() |
Date: 2008-01-03 19:39 |
This request relates to issue 1635: http://bugs.python.org/issue1635 which allows cross-platform creation of infinities and nans. The IEEE754 standard, the C99 standard, and the standard on which Decimal is based all allow creation of an infinity from the string 'Infinity' (case-independent), as well as from 'inf'. Is there any reason not to allow this for floats? I'm happy to create a patch. | ||
msg59149 - (view) | Author: Mark Dickinson (mark.dickinson) * ![]() |
Date: 2008-01-03 19:50 |
Sorry: brain not working. Please close as invalid. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:29 | admin | set | github: 46070 |
2008-01-03 20:33:52 | gvanrossum | set | status: open -> closedresolution: not a bug |
2008-01-03 19:50:19 | mark.dickinson | set | messages: + |
2008-01-03 19:39:27 | mark.dickinson | create |