summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* 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 #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
|\ \ \ | |/ /
| * | Issue #16761: Raise TypeError when int() called with base argument only.Serhiy Storchaka2012-12-281-2/+8
| |\ \ | | |/
| | * Issue #16761: Raise TypeError when int() called with base argument only.Serhiy Storchaka2012-12-281-2/+8
* | | use more specific typeBenjamin Peterson2012-12-261-1/+1
* | | Test for issue16772 and redoes the previous fix to accept __index__-awareGregory P. Smith2012-12-261-4/+3
* | | Fixes issue #16772: int() constructor second argument (base) must be an int.Gregory P. Smith2012-12-251-0/+5
* | | Issue 16280: Drop questionable special-casing of null pointer in PyLong_FromV...Mark Dickinson2012-10-181-6/+0
* | | Issue #16277: merge fix from 3.3Mark Dickinson2012-10-181-0/+8
|\ \ \ | |/ /
| * | Issue #16277: merge fix from 3.2Mark Dickinson2012-10-181-0/+8
| |\ \ | | |/
| | * Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= ...Mark Dickinson2012-10-181-0/+8
* | | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unifiedChristian Heimes2012-10-171-6/+2
* | | Issue #14783: Merge changes from 3.3.Chris Jerdonek2012-10-071-6/+13
|\ \ \ | |/ /