259 Commits (a8a3468abe861ce48ba1f7e1945facf4be5046fc)

Author SHA1 Message Date
Serhiy Storchaka 74f49ab28b Issue #15989: Fix several occurrences of integer overflow 14 years ago
Serhiy Storchaka cf095f8e0f Issue #16761: Raise TypeError when int() or long() called with base argument only. 14 years ago
Chris Jerdonek ad4b000179 Issue #14783: Backport changes from 3.2. 14 years ago
Ezio Melotti c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Ezio Melotti 24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Mark Dickinson c9fb3c6417 Fix indentation in Objects/longobject.c 16 years ago
Alexander Belopolsky 942af5a9a4 Issue #10557: Fixed error messages from float() and other numeric 16 years ago
Georg Brandl 71c23d4473 Include structseq.h in Python.h, and remove now-redundant includes in individual sources. 16 years ago
Benjamin Peterson 8035bc5c04 follow up to #9778: define and use an unsigned hash type 16 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 16 years ago
Mark Dickinson fa68a6188a Fix naming inconsistency. 16 years ago
Mark Dickinson f9a5a8e0af Issue #2844: Make int('42', n) consistently raise ValueError for 16 years ago
Mark Dickinson 7f1bf8004d Issue #8817: Expose round-to-nearest variant of divmod in _PyLong_Divmod_Near 16 years ago
Mark Dickinson dc787d2055 Issue #8188: Introduce a new scheme for computing hashes of numbers 16 years ago
Mark Dickinson cdd01d2ddb Merged revisions 81037 via svnmerge from 16 years ago
Mark Dickinson 22b20183d5 Merged revisions 81036 via svnmerge from 16 years ago
Mark Dickinson 43ca377e45 Wrap multiline macros in a 'do {} while(0)', for safety. 16 years ago
Mark Dickinson fda8d114ea Post-detabification cleanup: whitespace fixes and long line rewraps only. 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
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
Mark Dickinson e97ecba241 Merged revisions 80961 via svnmerge from 16 years ago
Mark Dickinson 22ff664ff7 Issue #8659: Remove redundant ABS calls. Thanks Daniel Stutzbach. 16 years ago
Stefan Krah 639e18410e Issue #8328: Silence Visual Studio warnings. 16 years ago
Stefan Krah 0091e5ecd0 Merged revisions 79885 via svnmerge from 16 years ago
Stefan Krah ef7590e943 Issue #8328: Silence Visual Studio warnings. 16 years ago
Mark Dickinson 49a519c859 Merged revisions 79856 via svnmerge from 16 years ago
Mark Dickinson ea7e5510aa Silence a 'comparison between signed and unsigned integer expressions' gcc warning. 16 years ago
Mark Dickinson 3318d29d22 Merged revisions 79843-79844 via svnmerge from 16 years ago
Mark Dickinson 3ec9b942b5 Issue #8259: Get rid of 'outrageous left shift count' error when 16 years ago
Mark Dickinson bee1fb0f75 Merged revisions 78918,78920 via svnmerge from 16 years ago
Mark Dickinson 431065247a Remove out-of-date comment about making ints and longs hash equal. 16 years ago
Mark Dickinson d59b41641e Issue #8014: Fix PyLong_As<c-integer-type> methods not to produce an 16 years ago
Mark Dickinson 078c2532e0 Move docstrings for long.to_bytes and long.from_bytes after the corresponding functions. 17 years ago
Mark Dickinson 93f562c4f9 Merged revisions 77842 via svnmerge from 17 years ago
Mark Dickinson a36507c64c Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a 17 years ago
Benjamin Peterson 0c0e229dd0 simplify string comparison of from_bytes/to_bytes 17 years ago
Alexandre Vassalotti c36c3789de Issue #1023290: Added API for the conversion of longs to bytes and vice-versa. 17 years ago
Mark Dickinson 6ecd9e53ce Merged revisions 77234 via svnmerge from 17 years ago
Mark Dickinson d3e323215c Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDouble 17 years ago
Mark Dickinson cbb62745ac Merged revisions 77062 via svnmerge from 17 years ago
Mark Dickinson 4657283647 Issue #1811: Improve accuracy and consistency of true division for integers. 17 years ago
Mark Dickinson 309aa2dcb4 Keep PyLong_AsLongAndOverflow documentation and implementation in sync 17 years ago
Mark Dickinson e31d300664 Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk. 17 years ago
Mark Dickinson 0b9293f28b Fix error message, for consistency with messages for % and //, and for consistency with trunk 17 years ago
Antoine Pitrou 074e5ed974 Merge in the new GIL. 17 years ago
Mark Dickinson 27a87a2aa2 Merged revisions 75697 via svnmerge from 17 years ago
Mark Dickinson 8d87dc0c29 Issue #1087418: Small performance boost for bitwise operations on longs. 17 years ago
Mark Dickinson 24f5785fea Merged revisions 75110 via svnmerge from 17 years ago