summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* SF patch 703666: Several objects don't decref tmp on failure in subtype_newRaymond Hettinger2003-06-281-1/+3
* SF # 595026: support for masks in getargs.c.Thomas Heller2003-04-171-0/+91
* Strange control flow in PyInt_AsLong. When nb_int is called insideThomas Heller2003-02-201-3/+3
* Issue a warning when int('0...', 0) returns an int with the signGuido van Rossum2003-02-121-2/+12
* Fix SF bug #683467, 'int' ability to generate longs not inheritedNeal Norwitz2003-02-101-2/+16
* Implement appropriate __getnewargs__ for all immutable subclassable builtinGuido van Rossum2003-01-291-1/+12
* SF # 669553, fix memory (ref) leaksNeal Norwitz2003-01-191-1/+8
* Since the *_Init() are private, prefix with _, suggested by SkipNeal Norwitz2002-12-311-1/+1
* SF #561244, Micro optimizationsNeal Norwitz2002-12-301-10/+23
* Consolidate the int and long sequence repeat code. Before the change,Neil Schemenauer2002-12-301-46/+0