summaryrefslogtreecommitdiff
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Variation of patch # 1624059 to speed up checking if an object is a subclassNeal Norwitz2007-02-251-1/+1
* Forward-port of r52136,52138: a review of overflow-detecting code.Armin Rigo2006-10-041-24/+47
* Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz2006-08-121-42/+7
* Move the initialization of size_a down below the check for a being NULL.Neal Norwitz2006-07-231-1/+2
* a & b were dereffed above, so they are known to be valid pointers.Neal Norwitz2006-07-161-3/+2
* PyLong_FromString(): Continued fraction analysis (explained inTim Peters2006-05-301-3/+74
* Patch #1494387: SVN longobject.c compiler warningsTim Peters2006-05-251-1/+1
* Faster path for PyLong_FromLongLong, using PyLong_FromLong algorithmBob Ippolito2006-05-251-10/+50
* A new table to help string->integer conversion was added yesterday toTim Peters2006-05-251-14/+13
* Heavily fiddled variant of patch #1442927: PyLong_FromString optimization.Tim Peters2006-05-241-44/+156
* Fix problems found by Coverity.Neal Norwitz2006-05-101-4/+4
* C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a...Skip Montanaro2006-04-181-2/+2
* Fix int() and long() to repr() their argument when formatting the exception,Thomas Wouters2006-04-111-2/+14
* More C++-compliance. Note especially listobject.c - to get C++ to accept theAnthony Baxter2006-04-111-8/+8
* Patch #837242: id() for large ptr should return a long.Martin v. Löwis2006-04-101-3/+9
* Add PY_SSIZE_T_MIN, as suggested by Ralf W. Grosse-Kunstleve.Martin v. Löwis2006-04-051-1/+1
* Remove unnecessary casts in type object initializers.Georg Brandl2006-03-301-19/+19
* fix a comment.Armin Rigo2006-03-281-1/+1
* Checking in the code for PEP 357.Guido van Rossum2006-03-071-7/+42