summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* Issue #27073: Removed redundant checks in long_add and long_sub.Serhiy Storchaka2016-06-031-2/+10
* Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.Serhiy Storchaka2016-05-121-21/+3
|\
| * Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.Serhiy Storchaka2016-05-121-21/+3
* | longobject.c: fix compilation warning on Windows 64-bitVictor Stinner2016-03-231-1/+1
* | Issues #26289 and #26315: Optimize floor/modulo div for single-digit longsYury Selivanov2016-02-111-0/+79
* | Issue #26288: Fix commentYury Selivanov2016-02-061-3/+3
* | Issue #26288: Optimize PyLong_AsDouble.Yury Selivanov2016-02-061-0/+7
* | Issue #24731: Fixed crash on converting objects with special methodsSerhiy Storchaka2015-11-251-1/+1
|\ \ | |/
| * Issue #24731: Fixed crash on converting objects with special methodsSerhiy Storchaka2015-11-251-1/+1
| |\
| | * Issue #24731: Fixed crash on converting objects with special methodsSerhiy Storchaka2015-11-251-1/+1
* | | Fix compiler warnings (uninitialized variables), false alarms in factVictor Stinner2015-10-141-4/+2
* | | Fix long_format_binary()Victor Stinner2015-10-141-1/+1
* | | Issue #25349: Optimize bytes % intVictor Stinner2015-10-091-27/+93
|/ /
* | Issue #24999: In longobject.c, use two shifts instead of ">> 2*PyLong_SHIFT" toVictor Stinner2015-09-191-4/+6
* | Issue #22486: Added the math.gcd() function. The fractions.gcd() function no...Serhiy Storchaka2015-05-121-0/+205
* | #16518: Bring error messages in harmony with docs ("bytes-like object")R David Murray2014-10-051-3/+1
* | Removed redundant casts to `char *`.Serhiy Storchaka2014-09-281-1/+1
* | Issue #22156: Fix "comparison between signed and unsigned integers" compilerVictor Stinner2014-08-151-2/+2
* | Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()Victor Stinner2014-05-141-37/+36
* | Issue #21193: Make (e.g.,) pow(2, -3, 5) raise ValueError rather than TypeErr...Mark Dickinson2014-04-111-1/+1
|/
* merge 3.3Benjamin Peterson2014-03-151-1/+2
|\
| * fix c89 declaration orderBenjamin Peterson2014-03-151-1/+2
* | merge 3.3Benjamin Peterson2014-03-151-1/+2
|\ \ | |/
| * don't do pointer arithmetic with signed numbersBenjamin Peterson2014-03-151-1/+2
| * Issue #17576: Removed deprecation warnings added in changeset 618cca51a27e.Serhiy Storchaka2013-12-141-9/+0
* | Issue #17576: Deprecation warning emitted now when __int__() or __index__()Serhiy Storchaka2013-12-111-104/+111
|\ \ | |/
| * Issue #17576: Deprecation warning emitted now when __int__() or __index__()Serhiy Storchaka2013-12-111-104/+111
* | Silence expression result unused warnings with clang.Christian Heimes2013-12-041-1/+1
* | Issue #1772673: The type of `char*` arguments now changed to `const char*`.Serhiy Storchaka2013-10-191-8/+8
* | Issue #19171: speed some cases of 3-argument long pow().Tim Peters2013-10-051-4/+10
|\ \ | |/
| * Issue #19171: speed some cases of 3-argument long pow().Tim Peters2013-10-051-4/+10
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-50/+50
|\ \ | |/
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-50/+50
* | Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou2013-08-131-12/+12
* | Issue #16741: Fix an error reporting in int().Serhiy Storchaka2013-08-031-28/+59
|\ \ | |/
| * Issue #16741: Fix an error reporting in int().Serhiy Storchaka2013-08-031-27/+62
* | Minor consistency fixes for some longobject.c exception messages:Mark Dickinson2013-08-031-4/+4
* | Issue #18520: Add a new PyStructSequence_InitType2() function, same thanVictor Stinner2013-07-221-2/+4
* | longobject.c: add an assertion to ensure that MEDIUM_VALUE() is only called onVictor Stinner2013-07-171-1/+2
* | Issue #18408: Rewrite NEGATE() macro in longobject.c to handle PyLong_FromLon...Victor Stinner2013-07-171-24/+51
* | Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macrosVictor Stinner2013-06-041-9/+4
* | Close #17694: Add minimum length to _PyUnicodeWriterVictor Stinner2013-04-171-1/+1
* | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in...Antoine Pitrou2013-02-091-2/+2
|\ \ | |/
| * Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in...Antoine Pitrou2013-02-091-2/+2
| |\
| | * Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in...Antoine Pitrou2013-02-091-2/+2
| * | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-0/+18
| |\ \ | | |/
| | * Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-0/+18
* | | Issue #16772: in int(x, base), non-integer bases must have an __index__ method.Mark Dickinson2013-01-271-5/+0
* | | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-141-0/+18
* | | Issue #16761: Raise TypeError when int() called with base argument only.Serhiy Storchaka2012-12-281-3/+9
|\ \ \ | |/ /