]> granicus.if.org Git - python/commit
Removed calls to PyFloat_AsReprString.
authorEric Smith <eric@trueblade.com>
Mon, 19 Oct 2009 00:34:12 +0000 (00:34 +0000)
committerEric Smith <eric@trueblade.com>
Mon, 19 Oct 2009 00:34:12 +0000 (00:34 +0000)
commit156692752db98a2e31c4e00f59072b9f221eb9a9
treeeff88be00feaa48b35b3e54c376fb5758a5fb26f
parent282396f27addf4ae6586865ccf449f60753a106c
Removed calls to PyFloat_AsReprString.
This is in anticipation of possibly implementing issue 7117 (short float repr).
This removes the last calls to PyFloat_AsString, PyFloat_AsReprString, and
PyFloat_AsStringEx, which are unsafe.

Also, switch to defines for error values to bring this code more in line
with the py3k branch.
Python/marshal.c