summaryrefslogtreecommitdiff
path: root/Objects/intobject.c
Commit message (Expand)AuthorAgeFilesLines
* Issue #3439: add bit_length method to int and long.Mark Dickinson2008-12-171-0/+36
* - Issue #2862: Make int and float freelist management consistent with otherGregory P. Smith2008-07-061-35/+25
* 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-7/+7
* 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-8/+8
* I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes2008-04-181-0/+12
* Pluralss only need one s, not 2 (intss -> ints)Neal Norwitz2008-03-271-1/+1
* Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster.Jeffrey Yasskin2008-03-181-1/+1
* 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-19/+71
* Patch #1953Christian Heimes2008-02-041-18/+34
* Continue rolling back pep-3141 changes that changed behavior from 2.5. ThisJeffrey Yasskin2008-01-051-32/+0
* Make math.{floor,ceil}({int,long}) return float again for backwardsJeffrey Yasskin2008-01-041-2/+2
* Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin2008-01-031-16/+68
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes2007-12-191-12/+12
* Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon2007-09-171-1/+4
* PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis2007-07-211-14/+13
* Port rev 55353 from Guido:Neal Norwitz2007-05-161-1/+1
* As per Armin Rigo's suggestion, remove special handing from intobject.c to de...Kristján Valur Jónsson2007-05-071-7/+2
* Fix problems in x64 build that were discovered by the testsuite:Kristján Valur Jónsson2007-05-031-0/+4
* Variation of patch # 1624059 to speed up checking if an object is a subclassNeal Norwitz2007-02-251-1/+1
* Minor change in int() docstring for proper spacing.Gustavo Niemeyer2007-01-101-1/+1
* Mention in the int() docstring that a base zero has meaning, asGustavo Niemeyer2007-01-101-2/+3
* Bug #1545497: when given an explicit base, int() did ignore NULsGeorg Brandl2006-10-121-2/+19
* Forward-port of r52136,52138: a review of overflow-detecting code.Armin Rigo2006-10-041-2/+14
* Fix integer negation and absolute value to not relyMartin v. Löwis2006-10-041-4/+3
* "Conceptual" merge of rev 51711 from the 2.5 branch.Tim Peters2006-09-051-1/+1
* Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz2006-08-121-6/+11
* C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a...Skip Montanaro2006-04-181-17/+18
* Fix int() and long() to repr() their argument when formatting the exception,Thomas Wouters2006-04-111-4/+14
* More C++-compliance. Note especially listobject.c - to get C++ to accept theAnthony Baxter2006-04-111-6/+6
* Remove unnecessary casts in type object initializers.Georg Brandl2006-03-301-1/+1
* Checking in the code for PEP 357.Guido van Rossum2006-03-071-0/+1
* Use %ld and casts to long for refcount printing, in absense of a universallyThomas Wouters2006-03-011-2/+7
* Revert backwards-incompatible const changes.Martin v. Löwis2006-02-271-1/+1
* RFE #1436243: make integers in [0..256] preallocated.Georg Brandl2006-02-221-1/+1
* Avoid unused variables when SIZEOF_SIZE_T == SIZEOF_LONG. Also normalizeThomas Wouters2006-02-151-1/+3
* Merge ssize_t branch.Martin v. Löwis2006-02-151-1/+70
* Add const to several API functions that take char *.Jeremy Hylton2005-12-101-1/+1
* Make subclasses of int, long, complex, float, and unicode perform typeBrett Cannon2005-04-261-1/+4
* Stop producing or using OverflowWarning. PEP 237 thought this wouldTim Peters2004-08-251-36/+4
* Check the type of values returned by __int__, __float__, __long__,Neil Schemenauer2004-07-191-6/+0
* SF bug #980419: int left-shift causes memory leakRaymond Hettinger2004-06-261-4/+26
* Reword messageAndrew M. Kuchling2004-06-051-1/+1
* Fix exception wordingAndrew M. Kuchling2004-06-051-1/+1
* SF patch #875689: >100k alloc wasted on startupRaymond Hettinger2004-02-081-1/+1
* - Removed FutureWarnings related to hex/oct literals and conversionsGuido van Rossum2003-11-291-30/+12
* Add a couple of decrefs to error paths.Michael W. Hudson2003-08-111-2/+4