53 Commits (cd8295ff758891f21084a6a5ad3403d35dda38f7)

Author SHA1 Message Date
Victor Stinner e9e7d284c4
bpo-35081: Move dtoa.h header to the internal C API (GH-18489) 6 years ago
Victor Stinner be143ec996
bpo-38835: Don't use PyFPE_START_PROTECT and PyFPE_END_PROTECT (GH-17231) 6 years ago
Pedro Lacerda 4fa7504ee3 bpo-27268: Fix incorrect error message on float('') (GH-2745) 7 years ago
Zackery Spytz 4c49da0cb7 bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) 7 years ago
Benjamin Peterson e502451781
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) 7 years ago
INADA Naoki 16dfca4d82
bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274) 8 years ago
Siddhesh Poyarekar 9fb8415759 Drop confusing commented out code in pystrtod.c (GH-6072) 8 years ago
Siddhesh Poyarekar efd2bac156 Fix strncpy warning with gcc 8 (#5840) 8 years ago
Serhiy Storchaka e2f92de6a9
Add the const qualifier to "char *" variables that refer to literal strings. (#4370) 8 years ago
Barry Warsaw b2e5794870 bpo-31338 (#3374) 8 years ago
Brett Cannon a721abac29 Issue #26331: Implement the parsing part of PEP 515. 9 years ago
Serhiy Storchaka 2d06e84455 Issue #25923: Added the const qualifier to static constant arrays. 10 years ago
Serhiy Storchaka 56a6d855e2 Removed duplicated words in in comments and docs. 11 years ago
Georg Brandl 6083a4bc1c Re #18521: remove assignments of variables that are immediately reassigned. 12 years ago
Victor Stinner 7b2513589f Issue #9566: pystrtod.c: Fix a compiler warnings on Windows x64 13 years ago
Mark Dickinson e383e82e04 Issue #14521: Make result of float('nan') and float('-nan') more consistent across platforms. Further, don't rely on Py_HUGE_VAL for float('inf'). 14 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 15 years ago
Mark Dickinson f719733b7d Revert temporary debugging commits (r82752, r82754). 16 years ago
Mark Dickinson 29241eed56 Another temporary checkin to diagnose test_float failure on 3.1 Ubuntu buildbot. 16 years ago
Mark Dickinson 6f826469bb Temporary checkin to try to diagnose i386 Ubuntu buildbot failure. 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Brett Cannon f4f0bf850b Revert a change where an expression is not needed now, but could be in the future. 16 years ago
Brett Cannon 1771ecf879 Remove an unnecessary variable assignment. 16 years ago
Eric Smith 68af50ba39 Issue #5988: Delete deprecated functions PyOS_ascii_formatd, PyOS_ascii_strtod, and PyOS_ascii_atof. 16 years ago
Mark Dickinson 95a3633c96 Merged revisions 77722 via svnmerge from 16 years ago
Mark Dickinson f41d29a8eb Merged revisions 77691,77698,77713-77714 via svnmerge from 16 years ago
Mark Dickinson 86db34207c Correct typo in comment. 16 years ago
Mark Dickinson 09823a2e21 Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double. 16 years ago
Eric Smith c1bdf89145 Finished removing _PyOS_double_to_string, as mentioned in issue 7117. 16 years ago
Mark Dickinson 975d7576ca Issue #7117 (backport py3k float repr) continued: 16 years ago
Mark Dickinson 3b38df24df Move some comments to more appropriate places 16 years ago
Mark Dickinson bd16edd305 Refactor to remove duplicated nan/inf parsing code in 17 years ago
Eric Smith a985a3aee4 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 17 years ago
Eric Smith 63376228a3 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 17 years ago
Mark Dickinson 129ab1d809 Merged revisions 72257 via svnmerge from 17 years ago
Mark Dickinson 01fce5adc0 Don't use PyOS_strnicmp for NaN and Inf detection: it's locale-aware. 17 years ago
Mark Dickinson 777e4ff503 Eliminate some locale-dependent calls to isspace and tolower. 17 years ago
Mark Dickinson 725bfd8489 Issue #5914: Add new C-API function PyOS_string_to_double, to complement 17 years ago
Mark Dickinson f489caf5da Issue #5859: Remove use of fixed-length buffers for float formatting 17 years ago
Mark Dickinson df108ca324 Remove format_float and use _PyOS_double_to_string instead. 17 years ago
Mark Dickinson 92fcc9c991 Issue #5864: format(1234.5, '.4') gives misleading result 17 years ago
Mark Dickinson d3ca557150 Issue #5864: Fix problem with empty code formatting for floats, 17 years ago
Eric Smith 94cc00ce4d Silence warning on Windows. 17 years ago
Eric Smith 6dc46f5eaa Merged revisions 72040 via svnmerge from 17 years ago
Eric Smith cac7af6863 Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. 17 years ago
Eric Smith cc32a11976 Issue #5835: Deprecate PyOS_ascii_formatd. 17 years ago
Mark Dickinson ce95e5646b Merged revisions 71976 via svnmerge from 17 years ago