[issue6427] Rename float*.[ch] to double.[ch]

Amaury Forgeot d'Arc report at bugs.python.org
Mon Jul 6 14:12:11 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

'float' is how python names its floating point number type, and this
won't change.  Yes, it is based on the C double, but I think that the
code is very careful to avoid the confusion.

For example, in the C sources, the word 'float' always has a 'Py'
prefix, or an 'object' suffix, to assert that it refers to the python
type (e.g. PyFloat_FromDouble, floatobject.c)

Do you have a precise example where the distinction is not clear?

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6427>
_______________________________________


More information about the Python-bugs-list mailing list