summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* SF #1444030: Fix several potential defects found by Coverity.Hye-Shik Chang2006-03-071-1/+7
* Revert backwards-incompatible const changes.Martin v. Löwis2006-02-271-1/+1
* Merge ssize_t branch.Martin v. Löwis2006-02-151-55/+133
* As discussed on python-dev, silence three gcc-4.0.x warnings, using assert()Thomas Wouters2006-02-011-2/+9
* Add const to several API functions that take char *.Jeremy Hylton2005-12-101-1/+2
* SF bug #1238681: freed pointer is used in longobject.c:long_pow().Tim Peters2005-07-171-5/+8
* SF bug #1224347: int/long unification and hex()Raymond Hettinger2005-06-291-2/+2
* Make subclasses of int, long, complex, float, and unicode perform typeBrett Cannon2005-04-261-1/+4
* Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis2005-03-031-1/+22
* Patch #1024670: Support int objects in PyLong_AsUnsignedLong[Mask].Martin v. Löwis2004-09-201-0/+11
* long_pow(): Fix more instances of leaks in error cases.Tim Peters2004-08-301-3/+3
* SF patch 936813: fast modular exponentiationTim Peters2004-08-301-107/+185
* SF patch 936813: fast modular exponentiationTim Peters2004-08-291-21/+79
* SF patch 703666: Several objects don't decref tmp on failure in subtype_newRaymond Hettinger2003-06-281-1/+3
* SF patch 730594: assert from longobject.c, line 1215.Tim Peters2003-05-051-4/+4
* Silence compiler warnings in VC 7.Jeremy Hylton2003-05-011-2/+2
* SF # 595026: support for masks in getargs.c.Thomas Heller2003-04-171-0/+55
* Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.Martin v. Löwis2003-03-291-22/+22
* Fix SF bug #689659, 64-bit int and long hash keys incompatibleNeal Norwitz2003-02-231-2/+4
* _PyLong_Sign(): remove an assert that needed a variable ndigits thatGuido van Rossum2003-02-031-3/+2
* long_from_binary_base(): Sped this a little by computing the # of bitsTim Peters2003-02-021-6/+6
* Tightened a too-generous assert.Tim Peters2003-02-021-1/+1
* long(string, base) now takes time linear in len(string) when base is aTim Peters2003-02-021-15/+108
* cPickle.c: Full support for the new LONG1 and LONG4. Added comments.Tim Peters2003-02-021-2/+2
* Squash compiler wng about signed/unsigned comparison mismatch.Tim Peters2003-01-311-1/+1
* _PyLong_NumBits(): The definition of this was too specific to the quirkyTim Peters2003-01-311-8/+17