39 Commits (284fa08eb783a48f98eabda25aaaebefb5937cce)

Author SHA1 Message Date
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
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
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
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 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
Eric Smith 94cc00ce4d Silence warning on Windows. 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
Mark Dickinson 9a0517c2cc Merged revisions 71976 via svnmerge from 17 years ago
Mark Dickinson e73cbe7a4e Fix typo in function name 17 years ago
Mark Dickinson 6d6b220215 Backport r71967 changes from py3k to trunk. 17 years ago
Eric Smith 068f06568b Issue #5835, deprecate PyOS_ascii_formatd. 17 years ago
Mark Dickinson 95bc980d9e Issue #5816: 17 years ago
Eric Smith aca19e6a74 Backport of some of the work in r71665 to trunk. This reworks much of 17 years ago
Eric Smith f032a00271 Fix issue 3411: default float format spec fails on negative numbers. 18 years ago
Eric Smith 65fe47b931 Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140. 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Eric Smith cf537ff39e Addresses issue 2802: 'n' formatting for integers. 18 years ago
Eric Smith 0a95063d73 Issue 2526, float.__format__ 'n' specifier does not support thousands grouping. 18 years ago
Eric Smith 5c35a9da65 Reformated lines > 79 chars. 18 years ago
Eric Smith 8113ca63b9 Issue 2264: empty float presentation type needs to have at least one digit past the decimal point. 18 years ago
Eric Smith 7ef40bf9c7 Trim leading zeros from a floating point exponent, per C99. See issue 1600. As far as I know, this only affects Windows. Add float type 'n' to PyOS_ascii_formatd (see PEP 3101 for 'n' description). 18 years ago
Guido van Rossum 3b83549ea0 Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000 18 years ago
Martin v. Löwis fcfff0a7fa Bug #1417699: Reject locale-specific decimal point in float() 20 years ago
Georg Brandl 80181e2b78 Fix compiler warning. 20 years ago
Georg Brandl b569ee4863 Handle PyMem_Malloc failure in pystrtod.c. Closes #1494671. 20 years ago
Brett Cannon 0ed05875b2 Swap out bare malloc()/free() use for PyMem_MALLOC()/PyMem_FREE() . 20 years ago
Anthony Baxter 64182fe0b3 Some more changes to make code compile under a C++ compiler. 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Neal Norwitz d39d861a36 Fix icc warnings: strlen() returns size_t 20 years ago
Neal Norwitz 0e7a0ed335 Fix compiler warnings 20 years ago
Neal Norwitz e7214a130b Get float() to be more portable across platforms. Disable hex strings. 20 years ago
Martin v. Löwis 737ea82a5a Patch #774665: Make Python LC_NUMERIC agnostic. 22 years ago