commit | 156692752db98a2e31c4e00f59072b9f221eb9a9 | [log] [tgz] |
---|---|---|
author | Eric Smith <eric@trueblade.com> | Mon Oct 19 00:34:12 2009 +0000 |
committer | Eric Smith <eric@trueblade.com> | Mon Oct 19 00:34:12 2009 +0000 |
tree | eff88be00feaa48b35b3e54c376fb5758a5fb26f | |
parent | 282396f27addf4ae6586865ccf449f60753a106c [diff] |
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.