History log of /external/python/cpython2/Python/pystrtod.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0f8f784a77a51dc3ceac8c812177bff33bced830 01-Dec-2014 Serhiy Storchaka <storchaka@gmail.com> Removed duplicated words in in comments and docs.
/external/python/cpython2/Python/pystrtod.c
c83ea137d7e717f764e2f31fc2544f522de7d857 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Untabify C files. Will watch buildbots.
/external/python/cpython2/Python/pystrtod.c
f4f0bf850bc99f5d70a4d8ffe1e0126d8c46b1ec 06-May-2010 Brett Cannon <bcannon@gmail.com> Revert a change where an expression is not needed now, but could be in the future.
/external/python/cpython2/Python/pystrtod.c
1771ecf8798dd5d92547759cce34c94c05d45308 05-May-2010 Brett Cannon <bcannon@gmail.com> Remove an unnecessary variable assignment.

Found using Clang's static analyzer.
/external/python/cpython2/Python/pystrtod.c
86db34207c34570c5ca9bfda62875c0e9fb4c869 22-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Correct typo in comment.
/external/python/cpython2/Python/pystrtod.c
09823a2e215bea1bde9941766f8d11c0aee26b76 31-Oct-2009 Mark Dickinson <dickinsm@gmail.com> Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double.
/external/python/cpython2/Python/pystrtod.c
c1bdf891458d2f37aa90b27f3ea85379cbb0d967 26-Oct-2009 Eric Smith <eric@trueblade.com> Finished removing _PyOS_double_to_string, as mentioned in issue 7117.
/external/python/cpython2/Python/pystrtod.c
975d7576caa8858b2692b8cba77094ca8fdb685e 26-Oct-2009 Mark Dickinson <dickinsm@gmail.com> Issue #7117 (backport py3k float repr) continued:
Backport pystrtod.c from py3k.
/external/python/cpython2/Python/pystrtod.c
a985a3aee46dfda4b59cf20414bab199ba1b9659 05-May-2009 Eric Smith <eric@trueblade.com> 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.
/external/python/cpython2/Python/pystrtod.c
01fce5adc0ca353122a72af905a084ac37ea7bc1 04-May-2009 Mark Dickinson <dickinsm@gmail.com> Don't use PyOS_strnicmp for NaN and Inf detection: it's locale-aware.
/external/python/cpython2/Python/pystrtod.c
777e4ff5039d1ac5aba9bb16b6edcb00d4d7c151 03-May-2009 Mark Dickinson <dickinsm@gmail.com> Eliminate some locale-dependent calls to isspace and tolower.
/external/python/cpython2/Python/pystrtod.c
df108ca324149ec4beceb880a7ac265679df1dff 29-Apr-2009 Mark Dickinson <dickinsm@gmail.com> Remove format_float and use _PyOS_double_to_string instead.
/external/python/cpython2/Python/pystrtod.c
92fcc9c9919b41a611b1dc084ad8f414f1e4278d 29-Apr-2009 Mark Dickinson <dickinsm@gmail.com> Issue #5864: format(1234.5, '.4') gives misleading result
(Backport of r72109 from py3k.)
/external/python/cpython2/Python/pystrtod.c
94cc00ce4d61808d8697be45d38e94a43133f061 28-Apr-2009 Eric Smith <eric@trueblade.com> Silence warning on Windows.
/external/python/cpython2/Python/pystrtod.c
cac7af6863a997376bffe00ecf07a62c5618a5d9 27-Apr-2009 Eric Smith <eric@trueblade.com> Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors.
/external/python/cpython2/Python/pystrtod.c
e73cbe7a4eba3498f03e8cd27248affcd99e1d74 26-Apr-2009 Mark Dickinson <dickinsm@gmail.com> Fix typo in function name
/external/python/cpython2/Python/pystrtod.c
6d6b220215433310c50c37be80d8def08af7700c 26-Apr-2009 Mark Dickinson <dickinsm@gmail.com> Backport r71967 changes from py3k to trunk.
(Internal plumbing changes for float parsing.)
/external/python/cpython2/Python/pystrtod.c
068f06568be288b8628a4e24118503e4d9b7af1b 25-Apr-2009 Eric Smith <eric@trueblade.com> Issue #5835, deprecate PyOS_ascii_formatd.

If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great.

Will port to py3k with a different strategy.
/external/python/cpython2/Python/pystrtod.c
95bc980d9ee2aabfedb90512906247f3e3c3fdf7 24-Apr-2009 Mark Dickinson <dickinsm@gmail.com> Issue #5816:
- simplify parsing and printing of complex numbers
- make complex(repr(z)) round-tripping work for complex
numbers involving nans, infs, or negative zeros
- don't accept some of the stranger complex strings
that were previously allowed---e.g., complex('1..1j')
/external/python/cpython2/Python/pystrtod.c
aca19e6a740c424aec243a4721b18d12e9129aa7 22-Apr-2009 Eric Smith <eric@trueblade.com> Backport of some of the work in r71665 to trunk. This reworks much of
int, long, and float __format__(), and it keeps their implementation
in sync with py3k.

Also added PyOS_double_to_string. This is the "fallback" version
that's also available in trunk, and should be kept in sync with that
code. I'll add an issue to document PyOS_double_to_string in the C
API.

There are many internal cleanups. Externally visible changes include:

- Implement PEP 378, Format Specifier for Thousands Separator, for
floats, ints, and longs.

- Issue #5515: 'n' formatting for ints, longs, and floats handles
leading zero formatting poorly.

- Issue #5772: For float.__format__, don't add a trailing ".0" if
we're using no type code and we have an exponent.
/external/python/cpython2/Python/pystrtod.c
f032a002711083610bf732bdfc5034e3af739ebe 19-Jul-2008 Eric Smith <eric@trueblade.com> Fix issue 3411: default float format spec fails on negative numbers.
/external/python/cpython2/Python/pystrtod.c
65fe47b9319e20cebf02d34f8abdbcda96d2fa22 24-Jun-2008 Eric Smith <eric@trueblade.com> Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140.
/external/python/cpython2/Python/pystrtod.c
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 09-Jun-2008 Gregory P. Smith <greg@mad-scientist.com> This reverts r63675 based on the discussion in this thread:

http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Python/pystrtod.c
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 26-May-2008 Christian Heimes <christian@cheimes.de> Renamed PyString to PyBytes
/external/python/cpython2/Python/pystrtod.c
cf537ff39ea1a518e937ee607bce816e8f3f41b6 11-May-2008 Eric Smith <eric@trueblade.com> Addresses issue 2802: 'n' formatting for integers.

Adds 'n' as a format specifier for integers, to mirror the same
specifier which is already available for floats. 'n' is the same as
'd', but inserts the current locale-specific thousands grouping.

I added this as a stringlib function, but it's only used by str type,
not unicode. This is because of an implementation detail in
unicode.format(), which does its own str->unicode conversion. But the
unicode version will be needed in 3.0, and it may be needed by other
code eventually in 2.6 (maybe decimal?), so I left it as a stringlib
implementation. As long as the unicode version isn't instantiated,
there's no overhead for this.
/external/python/cpython2/Python/pystrtod.c
0a95063d732b6f309a0cbf73e6095fb8774e5914 30-Apr-2008 Eric Smith <eric@trueblade.com> Issue 2526, float.__format__ 'n' specifier does not support thousands grouping.

Implemented grouping, with tests.
Cleaned up PyOS_ascii_formatd by breaking reformatting into smaller functions.
/external/python/cpython2/Python/pystrtod.c
5c35a9da65766da56d5f89882ecf43028fbf7322 17-Mar-2008 Eric Smith <eric@trueblade.com> Reformated lines > 79 chars.
Deleted unused macro ISXDIGIT.
/external/python/cpython2/Python/pystrtod.c
8113ca63b948d059aac6678b70cce95ac0c59abd 17-Mar-2008 Eric Smith <eric@trueblade.com> Issue 2264: empty float presentation type needs to have at least one digit past the decimal point.

Added "Z" format_char to PyOS_ascii_formatd to support empty float presentation type.
Renamed buf_size in PyOS_ascii_formatd to more accurately reflect it's meaning.
Modified format.__float__ to use the new "Z" format as the default.
Added test cases.
/external/python/cpython2/Python/pystrtod.c
7ef40bf9c77e0567e4fad656390b0a577f0e2080 21-Feb-2008 Eric Smith <eric@trueblade.com> 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).
/external/python/cpython2/Python/pystrtod.c
3b83549ea0b0c3e8d1919925a8875052e13367cf 05-Jan-2008 Guido van Rossum <guido@python.org> Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000
and adds errors for -0x.
/external/python/cpython2/Python/pystrtod.c
fcfff0a7fa6ece4c806b6e1a0a66b5ce214b9a28 03-Jul-2006 Martin v. Löwis <martin@v.loewis.de> Bug #1417699: Reject locale-specific decimal point in float()
and atof().
/external/python/cpython2/Python/pystrtod.c
80181e2b7871fb1d4f5fc8bc302db0e7e460d858 29-May-2006 Georg Brandl <georg@python.org> Fix compiler warning.
/external/python/cpython2/Python/pystrtod.c
b569ee4863bebac6a8c3437563f30f1acd4f34cc 29-May-2006 Georg Brandl <georg@python.org> Handle PyMem_Malloc failure in pystrtod.c. Closes #1494671.
/external/python/cpython2/Python/pystrtod.c
0ed05875b24191c53a36520e4727c2c18c160f0e 25-May-2006 Brett Cannon <bcannon@gmail.com> Swap out bare malloc()/free() use for PyMem_MALLOC()/PyMem_FREE() .
/external/python/cpython2/Python/pystrtod.c
64182fe0b39870d30b08da54696c4d02e7b52bc5 11-Apr-2006 Anthony Baxter <anthonybaxter@gmail.com> Some more changes to make code compile under a C++ compiler.
/external/python/cpython2/Python/pystrtod.c
18e165558b24d29e7e0ca501842b9236589b012a 15-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Merge ssize_t branch.
/external/python/cpython2/Python/pystrtod.c
d39d861a36bf2ff7ccbb8248fa7fb81517923877 08-Jan-2006 Neal Norwitz <nnorwitz@gmail.com> Fix icc warnings: strlen() returns size_t
/external/python/cpython2/Python/pystrtod.c
0e7a0ed335b464eb82e2b06f334566fe6d35226a 18-Dec-2005 Neal Norwitz <nnorwitz@gmail.com> Fix compiler warnings
/external/python/cpython2/Python/pystrtod.c
e7214a130b3fb1c4850a1e644b9e240087f6e982 18-Dec-2005 Neal Norwitz <nnorwitz@gmail.com> Get float() to be more portable across platforms. Disable hex strings.
/external/python/cpython2/Python/pystrtod.c
737ea82a5abd448b3e214b44d7d3c579b77e8155 08-Jun-2004 Martin v. Löwis <martin@v.loewis.de> Patch #774665: Make Python LC_NUMERIC agnostic.
/external/python/cpython2/Python/pystrtod.c