summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* Issue #29421: Make int.to_bytes() and int.from_bytes() slightly fasterSerhiy Storchaka2017-02-021-4/+7
* Issue #20185: Converted the int class to Argument Clinic.Serhiy Storchaka2017-02-011-135/+111
* Backed out changeset b9c9691c72c5Victor Stinner2016-12-041-1/+2
* Replace PyObject_CallFunctionObjArgs() with fastcallVictor Stinner2016-12-011-2/+1
* Issue #19569: Compiler warnings are now emitted if use most of deprecatedSerhiy Storchaka2016-11-201-1/+1
* Added the const qualifier to char* variables that refer to readonly internalSerhiy Storchaka2016-11-201-1/+2
* Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualT...Serhiy Storchaka2016-11-161-4/+4
|\
| * Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualT...Serhiy Storchaka2016-11-161-4/+4
| |\
| | * Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualT...Serhiy Storchaka2016-11-161-4/+4
* | | Issue #28621: Sped up converting int to float by reusing faster bits countingSerhiy Storchaka2016-11-081-32/+28
* | | Issue #27111: Minor simplication to long_add and long_sub fast path code. Tha...Mark Dickinson2016-09-171-6/+2
* | | Issue #27441: Remove some redundant assignments to ob_size in longobject.c. T...Mark Dickinson2016-09-171-2/+0
* | | Issue #27222: various cleanups in long_rshift. Thanks Oren Milman.Mark Dickinson2016-09-171-11/+7
|/ /
* | Issue #25221: merge from 3.5.Mark Dickinson2016-09-101-1/+2
|\ \ | |/
| * Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is com...Mark Dickinson2016-09-101-1/+2
| * Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
* | Issue #26331: Implement the parsing part of PEP 515.Brett Cannon2016-09-091-37/+132
* | replace PY_SIZE_MAX with SIZE_MAXBenjamin Peterson2016-09-071-1/+1
* | replace Py_(u)intptr_t with the c99 standard typesBenjamin Peterson2016-09-061-2/+2
* | remove some silly defined() testsBenjamin Peterson2016-09-061-2/+2
* | replace PY_LONG_LONG with long longBenjamin Peterson2016-09-061-40/+40
* | require a long long data type (closes #27961)Benjamin Peterson2016-09-061-20/+0
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
* | Issue #27870: A left shift of zero by a large integer no longer attempts to a...Mark Dickinson2016-08-291-0/+5
* | Issue #25402: in int-to-decimal-string conversion, reduce intermediate storag...Mark Dickinson2016-08-291-8/+11
* | Issue #27214: Fix potential bug and remove useless optimization in long_inver...Mark Dickinson2016-08-291-2/+4
* | Issue #27792: force int return type for modulo operations involving bools.Mark Dickinson2016-08-221-2/+5
* | Untabify Objects/longobject.c.Mark Dickinson2016-08-211-2/+2
* | Issue #25604: Fix minor bug in integer true division, which couldMark Dickinson2016-08-211-2/+2
* | Issue #27786: Simplify x_sub()Victor Stinner2016-08-171-3/+1
* | Issue #27626: Merge spelling fixes from 3.5Martin Panter2016-07-281-2/+2
|\ \ | |/
| * Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-2/+2
* | 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