summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Implement appropriate __getnewargs__ for all immutable subclassable builtinGuido van Rossum2003-01-291-1/+12
* Added new private API function _PyLong_NumBits. This will be used at theTim Peters2003-01-281-0/+35
* Consolidate the int and long sequence repeat code. Before the change,Neil Schemenauer2002-12-301-19/+0
* Change int() so that passing a string, unicode, float or long argumentWalter Dörwald2002-11-191-9/+20
* Make int("...") return a long if an int would overflow.Walter Dörwald2002-11-061-8/+10
* replace thread state objects' ticker and checkinterval fields with twoSkip Montanaro2002-09-031-4/+2
* long_format(), long_lshift(): Someone on c.l.py is trying to boostTim Peters2002-08-201-2/+2
* Illustrating by example one good reason not to trust a proof <wink>.Tim Peters2002-08-151-3/+3
* k_mul() comments: In honor of Dijkstra, made the proof that "t3 fits"Tim Peters2002-08-151-34/+37
* long_mul(): Simplified exit code. In particular, k_mul() returns aTim Peters2002-08-151-9/+3
* k_mul() comments: Simplified the simplified explanation of why ah*bh andTim Peters2002-08-141-6/+3
* k_mul() comments: Explained why there's always enough room to subtractTim Peters2002-08-141-0/+7
* Fixed error in new comment.Tim Peters2002-08-131-4/+3
* k_mul(): The fix for (ah+al)*(bh+bl) spilling 1 bit beyond the allocatedTim Peters2002-08-131-8/+44
* Fix comment for PyLong_AsUnsignedLong() to say that the return valueGuido van Rossum2002-08-131-1/+1
* k_lopsided_mul(): This allocated more space for bslice than necessary.Tim Peters2002-08-121-1/+1