410 Commits (1da055ee0dd11b8c16644c27381a2b20bf0ff205)

Author SHA1 Message Date
Mark Dickinson 36820dd5a9 Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0. 10 years ago
Brett Cannon a721abac29 Issue #26331: Implement the parsing part of PEP 515. 10 years ago
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 10 years ago
Benjamin Peterson 2f8bfef158 replace PY_SIZE_MAX with SIZE_MAX 10 years ago
Benjamin Peterson ca47063998 replace Py_(u)intptr_t with the c99 standard types 10 years ago
Benjamin Peterson d953f8e10b remove some silly defined() tests 10 years ago
Benjamin Peterson af580dff4a replace PY_LONG_LONG with long long 10 years ago
Benjamin Peterson ed4aa83ff7 require a long long data type (closes #27961) 10 years ago
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 10 years ago
Mark Dickinson 82a95277b8 Issue #27870: A left shift of zero by a large integer no longer attempts to allocate large amounts of memory. 10 years ago
Mark Dickinson 4e1de16f88 Issue #25402: in int-to-decimal-string conversion, reduce intermediate storage requirements and relax restriction on converting large integers. Patch by Serhiy Storchaka. 10 years ago
Mark Dickinson 583c6e860c Issue #27214: Fix potential bug and remove useless optimization in long_invert. Thanks Oren Milman. 10 years ago
Mark Dickinson b820d7f631 Issue #27792: force int return type for modulo operations involving bools. 10 years ago
Mark Dickinson 1dc3c898a8 Untabify Objects/longobject.c. 10 years ago
Mark Dickinson dc590a4cc3 Issue #25604: Fix minor bug in integer true division, which could 10 years ago
Victor Stinner 8bcf312d09 Issue #27786: Simplify x_sub() 10 years ago
Martin Panter eb9957065a Issue #27626: Spelling fixes in docs, comments and internal names 10 years ago
Serhiy Storchaka e63e5d60ee Issue #27073: Removed redundant checks in long_add and long_sub. 10 years ago
Serhiy Storchaka ea36c941a1 Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses. 10 years ago
Victor Stinner f963c13597 longobject.c: fix compilation warning on Windows 64-bit 10 years ago
Yury Selivanov e0b23095ee Issues #26289 and #26315: Optimize floor/modulo div for single-digit longs 10 years ago
Yury Selivanov a0fcaca4e1 Issue #26288: Fix comment 10 years ago
Yury Selivanov 186c30b7ae Issue #26288: Optimize PyLong_AsDouble. 10 years ago
Serhiy Storchaka 15095800a3 Issue #24731: Fixed crash on converting objects with special methods 10 years ago
Victor Stinner 1285e5c805 Fix compiler warnings (uninitialized variables), false alarms in fact 11 years ago
Victor Stinner 199c9a6f4b Fix long_format_binary() 11 years ago
Victor Stinner be75b8cf23 Issue #25349: Optimize bytes % int 11 years ago
Victor Stinner 5783fd2c58 Issue #24999: In longobject.c, use two shifts instead of ">> 2*PyLong_SHIFT" to 11 years ago
Serhiy Storchaka 48e47aaa28 Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is 11 years ago
R David Murray 861470c836 #16518: Bring error messages in harmony with docs ("bytes-like object") 12 years ago
Serhiy Storchaka 20b39b27d9 Removed redundant casts to `char *`. 12 years ago
Victor Stinner 12174a5dca Issue #22156: Fix "comparison between signed and unsigned integers" compiler 12 years ago
Victor Stinner 45e8e2f218 Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY() 12 years ago
Mark Dickinson 0c346d827d Issue #21193: Make (e.g.,) pow(2, -3, 5) raise ValueError rather than TypeError. Patch by Josh Rosenberg. 12 years ago
Benjamin Peterson 45c9dceb56 fix c89 declaration order 12 years ago
Benjamin Peterson 041c38a790 don't do pointer arithmetic with signed numbers 12 years ago
Serhiy Storchaka c836a28cc1 Issue #17576: Removed deprecation warnings added in changeset 618cca51a27e. 12 years ago
Serhiy Storchaka 31a655411a Issue #17576: Deprecation warning emitted now when __int__() or __index__() 12 years ago
Christian Heimes d3afe781b1 Silence expression result unused warnings with clang. 12 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 13 years ago
Tim Peters 81a93159d7 Issue #19171: speed some cases of 3-argument long pow(). 13 years ago
Serhiy Storchaka 9594942716 Issue #18783: Removed existing mentions of Python long type in docstrings, 13 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Serhiy Storchaka f6d0aeeadc Issue #16741: Fix an error reporting in int(). 13 years ago
Mark Dickinson 02515f7a3a Minor consistency fixes for some longobject.c exception messages: 13 years ago
Victor Stinner 1c8f059019 Issue #18520: Add a new PyStructSequence_InitType2() function, same than 13 years ago
Victor Stinner 08a80b11ad longobject.c: add an assertion to ensure that MEDIUM_VALUE() is only called on 13 years ago
Victor Stinner 8aed6f1c7d Issue #18408: Rewrite NEGATE() macro in longobject.c to handle PyLong_FromLong() failure 13 years ago
Victor Stinner 640c35ce13 Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros 13 years ago
Victor Stinner 8f674ccd64 Close #17694: Add minimum length to _PyUnicodeWriter 13 years ago