[issue13118] Py_BuildValue format f incorrect description.

2011-10-07 Thread Félix-Antoine Fortin
Félix-Antoine Fortin added the comment: I stand corrected. -- resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue13118] Py_BuildValue format f incorrect description.

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I've checked in the code: 'f' and 'd' are really the same (Python/modsupport.c). And in http://en.wikipedia.org/wiki/Stdarg.h, you can read: """A float will automatically be promoted to a double.""" -- nosy: +amaury.forgeotdarc

[issue13118] Py_BuildValue format f incorrect description.

2011-10-06 Thread Félix-Antoine Fortin
New submission from Félix-Antoine Fortin : Python/C API Reference Manual, section Utilities, Parsing arguments and building values, function Py_BuildValue. The description for the format unit "f" is incorrect. It reads "Same as d.", as it should be "Convert a C float to a Python floating point