328 Commits (d6cb5dd9e19210f5963ff8beadde7ca2fda71574)

Author SHA1 Message Date
Benjamin Peterson f10a79aad4 merge from trunk 17 years ago
Benjamin Peterson be2c0a9fe3 Merged revisions 66766-66767,66771-66772,66774,66776,66783-66787,66790,66793,66797 via svnmerge from 17 years ago
Andrew M. Kuchling bd7c4ca569 Use correct capitalization of NaN 17 years ago
Andrew MacIntyre 4561257c34 Merged revisions 66552-66553 via svnmerge from 17 years ago
Andrew MacIntyre 8c47cabbe9 should use macro'ed symbols not direct 17 years ago
Amaury Forgeot d'Arc d3ffb8974f #3777: long(4.2) returned an int, and broke backward compatibility. 18 years ago
Mark Dickinson 42a72ee181 Merged revisions 65964 via svnmerge from 18 years ago
Mark Dickinson 5c2bb1a7d4 issue 3633: Solaris allows fullwidth Unicode digits in isxdigit, so 18 years ago
Gregory P. Smith d8fa68b575 fix cut and paste error in a comment 18 years ago
Marc-André Lemburg 4cc0f24857 Rename PyUnicode_AsString -> _PyUnicode_AsString and 18 years ago
Mark Dickinson 943f33912c Issue #3369: fix memory leak in floatobject.c. Thanks Kristján Jónsson 18 years ago
Georg Brandl 2ee470f7f9 Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,64888,64897,64900-64901,64915,64926-64929,64938-64941,64944,64961,64966,64973 via svnmerge from 18 years ago
Mark Dickinson 65fe25e597 Merged revisions 64974 via svnmerge from 18 years ago
Mark Dickinson 7103aa42c0 Issue #3008: add instance method float.hex and class method float.fromhex 18 years ago
Gregory P. Smith 2fe77060eb - Issue #2862: Make int and float freelist management consistent with other 18 years ago
Mark Dickinson bf9f4d8015 Issue 3188: accept float('infinity') as well as float('inf'). This 18 years ago
Raymond Hettinger 9c437af4eb Revert 64424, 64438, and 64439. 18 years ago
Raymond Hettinger 5c960b8c64 Revert 64451. 18 years ago
Raymond Hettinger d11a44312f Merge 64438: hex/oct/bin can show floats exactly. 18 years ago
Hye-Shik Chang 30fa13f3a0 Fix build on FreeBSD gcc. 18 years ago
Raymond Hettinger e0e711446b Issue 3008: hex/oct/bin can show floats exactly. 18 years ago
Benjamin Peterson 4f92ca4022 Remove nb_reserved (nb_coerce), nb_hex, and nb_oct from PyNumberMethods 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Eric Smith 4a7d76ddb5 Refactor and clean up str.format() code (and helpers) in advance of optimizations. 18 years ago
Eric Smith dc13b79a38 Refactor and clean up str.format() code (and helpers) in advance of optimizations. 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Mark Dickinson e81c376080 Issue #2801: fix bug in float.is_integer where ValueError 18 years ago
Mark Dickinson c4352b061a Issue 2801: fix bug in float.is_integer where ValueError was incorrectly 18 years ago
Christian Heimes 53876d9cd8 Merged revisions 62380,62382-62383 via svnmerge from 18 years ago
Christian Heimes 6f34109384 I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. 18 years ago
Christian Heimes bbe741dd1b Merged revisions 61981,61984-61987,61992-61993,61997-62000 via svnmerge from 18 years ago
Neal Norwitz 9fdfaaf9af Fix compiler warning about finite() missing on Solaris. 18 years ago
Christian Heimes ba4af493a5 Merged revisions 61964-61979 via svnmerge from 18 years ago
Neal Norwitz c0a56ff908 Pluralss only need one s, not 2 (intss -> ints) 18 years ago
Christian Heimes dd15f6c315 Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,61285-61286,61288-61290,61298,61303-61305,61312-61314,61317,61329,61332,61344,61350-61351,61363-61376,61378-61379,61382-61383,61387-61388,61392,61395-61396,61402-61403 via svnmerge from 18 years ago
Mark Dickinson c23b8a7af9 Issue 705836: Fix struct.pack(">f", 1e40) to behave consistently 18 years ago
Eric Smith a9f7d62480 Backport of PEP 3101, Advanced String Formatting, from py3k. 18 years ago
Christian Heimes 15ebc88d87 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552-60567 via svnmerge from 18 years ago
Christian Heimes 422051a367 Patch #1953 18 years ago
Christian Heimes 292d351fc1 Merged revisions 60481,60485,60489-60520,60523-60527,60530-60533,60535-60538,60540-60551 via svnmerge from 18 years ago
Raymond Hettinger 2d1aa3350a Simpler solution to handling non-IEEE 754 environments. 18 years ago
Raymond Hettinger f9859037fc Add protection from weirdness while scaling the mantissa to an integer. 18 years ago
Raymond Hettinger 1bcb99a9cb Fix int/long typecase. Add check for non-binary floating point. 18 years ago
Raymond Hettinger ffc667cbd5 labs() takes a long for an input. 18 years ago
Raymond Hettinger c9e928ae0f Integer ratio should return ints instead of longs whereever possible. 18 years ago
Raymond Hettinger 04c96d52a4 Issue #1996: float.as_integer_ratio() should return fraction in lowest terms. 18 years ago
Christian Heimes 7b3ce6a17e Merged revisions 60441-60474 via svnmerge from 18 years ago
Christian Heimes 796fc31585 The previous change was causing a segfault after multiple calls to Py_Initialize() and Py_Finalize(). 18 years ago
Christian Heimes 0d9244332b Fixed some references leaks in sys. 18 years ago
Christian Heimes 2685563583 Merged revisions 60364-60378 via svnmerge from 18 years ago