summaryrefslogtreecommitdiff
path: root/Objects/longobject.c
AgeCommit message (Expand)AuthorLines
2006-08-12Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz-42/+7
2006-07-23Move the initialization of size_a down below the check for a being NULL.Neal Norwitz-1/+2
2006-07-16a & b were dereffed above, so they are known to be valid pointers.Neal Norwitz-3/+2
2006-05-30PyLong_FromString(): Continued fraction analysis (explained inTim Peters-3/+74
2006-05-25Patch #1494387: SVN longobject.c compiler warningsTim Peters-1/+1
2006-05-25Faster path for PyLong_FromLongLong, using PyLong_FromLong algorithmBob Ippolito-10/+50
2006-05-25A new table to help string->integer conversion was added yesterday toTim Peters-14/+13
2006-05-24Heavily fiddled variant of patch #1442927: PyLong_FromString optimization.Tim Peters-43/+155
2006-05-10Fix problems found by Coverity.Neal Norwitz-4/+4
2006-04-18C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a...Skip Montanaro-2/+2
2006-04-11Fix int() and long() to repr() their argument when formatting the exception,Thomas Wouters-2/+14
2006-04-11More C++-compliance. Note especially listobject.c - to get C++ to accept theAnthony Baxter-8/+8
2006-04-10Patch #837242: id() for large ptr should return a long.Martin v. Löwis-3/+9
2006-04-05Add PY_SSIZE_T_MIN, as suggested by Ralf W. Grosse-Kunstleve.Martin v. Löwis-1/+1
2006-03-30Remove unnecessary casts in type object initializers.Georg Brandl-19/+19
2006-03-28fix a comment.Armin Rigo-1/+1
2006-03-07Checking in the code for PEP 357.Guido van Rossum-7/+42
2006-03-07SF #1444030: Fix several potential defects found by Coverity.Hye-Shik Chang-1/+7
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-55/+133
2006-02-01As discussed on python-dev, silence three gcc-4.0.x warnings, using assert()Thomas Wouters-2/+9
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-1/+2
2005-07-17SF bug #1238681: freed pointer is used in longobject.c:long_pow().Tim Peters-5/+8
2005-06-29SF bug #1224347: int/long unification and hex()Raymond Hettinger-2/+2
2005-04-26Make subclasses of int, long, complex, float, and unicode perform typeBrett Cannon-1/+4
2005-03-03Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis-1/+22
2004-09-20Patch #1024670: Support int objects in PyLong_AsUnsignedLong[Mask].Martin v. Löwis-0/+11
2004-08-30long_pow(): Fix more instances of leaks in error cases.Tim Peters-3/+3
2004-08-30SF patch 936813: fast modular exponentiationTim Peters-107/+185
2004-08-29SF patch 936813: fast modular exponentiationTim Peters-21/+79
2003-06-28SF patch 703666: Several objects don't decref tmp on failure in subtype_newRaymond Hettinger-1/+3
2003-05-05SF patch 730594: assert from longobject.c, line 1215.Tim Peters-4/+4
2003-05-01Silence compiler warnings in VC 7.Jeremy Hylton-2/+2
2003-04-17SF # 595026: support for masks in getargs.c.Thomas Heller-0/+55
2003-03-29Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.Martin v. Löwis-22/+22
2003-02-23Fix SF bug #689659, 64-bit int and long hash keys incompatibleNeal Norwitz-2/+4
2003-02-03_PyLong_Sign(): remove an assert that needed a variable ndigits thatGuido van Rossum-3/+2
2003-02-02long_from_binary_base(): Sped this a little by computing the # of bitsTim Peters-6/+6
2003-02-02Tightened a too-generous assert.Tim Peters-1/+1
2003-02-02long(string, base) now takes time linear in len(string) when base is aTim Peters-15/+108
2003-02-02cPickle.c: Full support for the new LONG1 and LONG4. Added comments.Tim Peters-2/+2
2003-01-31Squash compiler wng about signed/unsigned comparison mismatch.Tim Peters-1/+1
2003-01-31_PyLong_NumBits(): The definition of this was too specific to the quirkyTim Peters-8/+17
2003-01-29Implement appropriate __getnewargs__ for all immutable subclassable builtinGuido van Rossum-1/+12
2003-01-28Added new private API function _PyLong_NumBits. This will be used at theTim Peters-0/+35
2002-12-30Consolidate the int and long sequence repeat code. Before the change,Neil Schemenauer-19/+0
2002-11-19Change int() so that passing a string, unicode, float or long argumentWalter Dörwald-9/+20
2002-11-06Make int("...") return a long if an int would overflow.Walter Dörwald-8/+10
2002-09-03replace thread state objects' ticker and checkinterval fields with twoSkip Montanaro-4/+2
2002-08-20long_format(), long_lshift(): Someone on c.l.py is trying to boostTim Peters-2/+2