51 Commits (793cb85437299a3da3d74fe65480d720af330cbb)

Author SHA1 Message Date
Mark Dickinson 6d6b220215 Backport r71967 changes from py3k to trunk. 17 years ago
Mark Dickinson 6d65df1e8a Internal plumbing changes for float parsing: 17 years ago
Eric Smith 068f06568b Issue #5835, deprecate PyOS_ascii_formatd. 17 years ago
Mark Dickinson 95bc980d9e Issue #5816: 17 years ago
Mark Dickinson ad476dab09 Issue #5816: Simplify code for parsing and printing of complex numbers. 17 years ago
Eric Smith aca19e6a74 Backport of some of the work in r71665 to trunk. This reworks much of 17 years ago
Mark Dickinson 3370cce4dd Issue 5780: Fix test_float failures for legacy style float repr. 17 years ago
Eric Smith 193125ad19 Simplify PyOS_double_to_string. 17 years ago
Eric Smith 0923d1d8d7 The other half of Issue #1580: use short float repr where possible. 17 years ago
Eric Smith a3b1ac8dca Added ',' thousands grouping to int.__format__. See PEP 378. 17 years ago
Eric Smith 2ad79e82c8 Merged revisions 65125 via svnmerge from 18 years ago
Eric Smith f032a00271 Fix issue 3411: default float format spec fails on negative numbers. 18 years ago
Eric Smith 6d7e7a730e Merged revisions 64491 via svnmerge from 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 72b710a596 Renamed PyString to PyBytes 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Eric Smith 5807c415c5 Merged revisions 63078 via svnmerge from 18 years ago
Eric Smith cf537ff39e Addresses issue 2802: 'n' formatting for integers. 18 years ago
Eric Smith b2c7af8221 Merged revisions 62586 via svnmerge from 18 years ago
Eric Smith 0a95063d73 Issue 2526, float.__format__ 'n' specifier does not support thousands grouping. 18 years ago
Christian Heimes b186d0084c Merged revisions 61431,61433-61436,61439,61444,61449-61450,61453,61458,61465,61468,61471-61474,61480,61483-61484,61488,61495-61496,61498,61503-61504,61507,61509-61510,61515-61518 via svnmerge from 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
Christian Heimes c3f30c4337 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60849,60852-60854,60856-60859,60861-60870,60874-60875,60880-60881,60886,60888-60890,60892,60894-60898,60900-60931,60933-60958 via svnmerge from 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
Christian Heimes faf2f63faf Merged revisions 59703-59773 via svnmerge from 18 years ago
Guido van Rossum 3b83549ea0 Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000 18 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Martin v. Löwis fcfff0a7fa Bug #1417699: Reject locale-specific decimal point in float() 20 years ago
Thomas Wouters 4d70c3d9dd Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svn 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
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Brett Cannon 0ed05875b2 Swap out bare malloc()/free() use for PyMem_MALLOC()/PyMem_FREE() . 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 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