summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* Issue #1087418: Small performance boost for bitwise operations on longs.Mark Dickinson2009-10-251-66/+100
* Style/consistency/nano-optimization nit: replace occurrences ofMark Dickinson2009-09-281-6/+6
* Silence MSVC compiler warnings.Mark Dickinson2009-09-211-2/+3
* Issue #6713: Improve performance of str(n) and repr(n) for integers nMark Dickinson2009-09-161-0/+119
* Fix potential signed-overflow bug in _PyLong_Format; also fixMark Dickinson2009-09-131-9/+11
* Remove redundant assignmentMark Dickinson2009-09-061-1/+0
* Remove unnecessary use of context for long getters.Mark Dickinson2009-05-021-10/+15
* Issue #3166: Make long -> float (and int -> float) conversionsMark Dickinson2009-04-201-15/+152
* sys.long_info attributes should be ints, not longsMark Dickinson2009-04-021-2/+4
* Issue #5512: speed up the long division algorithm for Python longs.Mark Dickinson2009-03-231-94/+152
* Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.Mark Dickinson2009-03-201-0/+49
* Replace long with twodigits, to avoid dependingMark Dickinson2009-02-251-1/+1
* A few more minor fixes in longobject.cMark Dickinson2009-02-151-5/+4
* Issue #5260: Various portability and standards compliance fixes, optimizationsMark Dickinson2009-02-151-46/+35
* Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError forMark Dickinson2009-02-101-1/+1
* Fix comment.Mark Dickinson2009-01-261-3/+3
* Fix undefined behaviour (left shift of negative value) in long_hash. Also,Mark Dickinson2009-01-261-9/+10
* No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large...Mark Dickinson2009-01-251-1/+1
* Issue #4393: fix 3 classes of potential portability problems in longobject.c:Mark Dickinson2009-01-241-23/+20
* Issue #3439: add bit_length method to int and long.Mark Dickinson2008-12-171-0/+71
* Issue #1481296: (again!) Make conversion of a float NaN to an int orMark Dickinson2008-08-041-2/+4
* Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz2008-07-311-0/+2
* Added additional __sizeof__ implementations and addressed comments made inRobert Schuppenies2008-07-101-2/+2
* Revert 64424, 64438, and 64439.Raymond Hettinger2008-06-241-7/+0
* Make bin() implementation parallel oct() and hex() so that int/long subclasse...Raymond Hettinger2008-06-201-0/+7
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-16/+16
* Some style nits. Also clarify in the docstrings what __sizeof__ does.Georg Brandl2008-06-011-1/+1
* Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.Robert Schuppenies2008-06-011-0/+13
* Refactor and clean up str.format() code (and helpers) in advance of optimizat...Eric Smith2008-05-301-16/+11
* Renamed PyString to PyBytesChristian Heimes2008-05-261-17/+17
* I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes2008-04-181-0/+12
* Fix for possible signed overflow: the behaviour of -LONG_MIN isMark Dickinson2008-04-151-6/+19
* Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.Neal Norwitz2008-03-281-5/+5
* Fix warnings about using char as an array subscript. This is not portableNeal Norwitz2008-03-271-5/+5
* Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster.Jeffrey Yasskin2008-03-181-1/+1
* Finished backporting PEP 3127, Integer Literal Support and Syntax.Eric Smith2008-03-171-1/+14
* Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith2008-02-171-0/+36
* Added PyNumber_ToBase and supporting routines _PyInt_Format andEric Smith2008-02-101-14/+23
* Backport of several functions from Python 3.0 to 2.6 including PyUnicode_From...Christian Heimes2008-01-251-165/+165
* Silence Coverity false alerts with CIDs #172, #183, #184Christian Heimes2008-01-181-0/+1
* Continue rolling back pep-3141 changes that changed behavior from 2.5. ThisJeffrey Yasskin2008-01-051-34/+0
* Make math.{floor,ceil}({int,long}) return float again for backwardsJeffrey Yasskin2008-01-041-2/+2
* Bug #1481296: Fixed long(float('nan'))!=0L.Christian Heimes2008-01-041-0/+3
* Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin2008-01-031-15/+67
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes2007-12-191-89/+89
* Issue #1772851. Alters long.__hash__ from being *almost* completelyFacundo Batista2007-09-191-0/+8
* PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis2007-07-211-89/+89
* Fix problems in x64 build that were discovered by the testsuite:Kristján Valur Jónsson2007-05-031-1/+1
* Add some missing NULL checks which trigger crashes on low-memory conditions.Georg Brandl2007-04-111-0/+8
* Patch #1638879: don't accept strings with embedded NUL bytes in long().Georg Brandl2007-03-061-1/+18