Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
91a11a46c0dfc01702bbd315fbb424aef2ccd45c
/
Python
/
pystrtod.c
a985a3a
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.
by Eric Smith
· 16 years ago
01fce5a
Don't use PyOS_strnicmp for NaN and Inf detection: it's locale-aware.
by Mark Dickinson
· 16 years ago
777e4ff
Eliminate some locale-dependent calls to isspace and tolower.
by Mark Dickinson
· 16 years ago
df108ca
Remove format_float and use _PyOS_double_to_string instead.
by Mark Dickinson
· 16 years ago
92fcc9c
Issue #5864: format(1234.5, '.4') gives misleading result
by Mark Dickinson
· 16 years ago
94cc00c
Silence warning on Windows.
by Eric Smith
· 16 years ago
cac7af6
Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors.
by Eric Smith
· 16 years ago
e73cbe7
Fix typo in function name
by Mark Dickinson
· 16 years ago
6d6b220
Backport r71967 changes from py3k to trunk.
by Mark Dickinson
· 16 years ago
068f065
Issue #5835, deprecate PyOS_ascii_formatd.
by Eric Smith
· 16 years ago
95bc980
Issue #5816:
by Mark Dickinson
· 16 years ago
aca19e6
Backport of some of the work in r71665 to trunk. This reworks much of
by Eric Smith
· 16 years ago
f032a00
Fix issue 3411: default float format spec fails on negative numbers.
by Eric Smith
· 17 years ago
65fe47b
Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140.
by Eric Smith
· 17 years ago
dd96db6
This reverts r63675 based on the discussion in this thread:
by Gregory P. Smith
· 17 years ago
593daf5
Renamed PyString to PyBytes
by Christian Heimes
· 17 years ago
cf537ff
Addresses issue 2802: 'n' formatting for integers.
by Eric Smith
· 17 years ago
0a95063
Issue 2526, float.__format__ 'n' specifier does not support thousands grouping.
by Eric Smith
· 17 years ago
5c35a9d
Reformated lines > 79 chars. Deleted unused macro ISXDIGIT.
by Eric Smith
· 17 years ago
8113ca6
Issue 2264: empty float presentation type needs to have at least one digit past the decimal point.
by Eric Smith
· 17 years ago
7ef40bf
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).
by Eric Smith
· 17 years ago
3b83549
Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000
by Guido van Rossum
· 18 years ago
fcfff0a
Bug #1417699: Reject locale-specific decimal point in float() and atof().
by Martin v. Löwis
· 19 years ago
80181e2
Fix compiler warning.
by Georg Brandl
· 19 years ago
b569ee4
Handle PyMem_Malloc failure in pystrtod.c. Closes #1494671.
by Georg Brandl
· 19 years ago
0ed0587
Swap out bare malloc()/free() use for PyMem_MALLOC()/PyMem_FREE() .
by Brett Cannon
· 19 years ago
64182fe
Some more changes to make code compile under a C++ compiler.
by Anthony Baxter
· 19 years ago
18e1655
Merge ssize_t branch.
by Martin v. Löwis
· 19 years ago
d39d861
Fix icc warnings: strlen() returns size_t
by Neal Norwitz
· 20 years ago
0e7a0ed
Fix compiler warnings
by Neal Norwitz
· 20 years ago
e7214a1
Get float() to be more portable across platforms. Disable hex strings.
by Neal Norwitz
· 20 years ago
737ea82
Patch #774665: Make Python LC_NUMERIC agnostic.
by Martin v. Löwis
· 21 years ago