summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Change int() so that passing a string, unicode, float or long argumentWalter Dörwald2002-11-191-4/+16
* Make int("...") return a long if an int would overflow.Walter Dörwald2002-11-061-11/+13
* Insert an overflow check when the sequence repetition count is outsideGuido van Rossum2002-09-111-3/+30
* Call me anal, but there was a particular phrase that was speading toGuido van Rossum2002-08-191-1/+1
* More changes of DeprecationWarning to FutureWarning.Guido van Rossum2002-08-141-4/+4
* Add an improvement wrinkle to Neil Schemenauer's change to int_mulGuido van Rossum2002-08-131-2/+4
* int_lshift(): Simplified/sped overflow-checking.Tim Peters2002-08-111-4/+2
* Use a better check for overflow from a<<b.Guido van Rossum2002-08-111-2/+4
* Implement stage B0 of PEP 237: add warnings for operations thatGuido van Rossum2002-08-111-3/+25
* Only call sq_repeat if the object does not have a nb_multiply slot. OneNeil Schemenauer2002-08-091-6/+8
* staticforward bites the dust.Jeremy Hylton2002-07-171-1/+1
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-2/+2
* Just added comments, and cleared some XXX questions, related to intTim Peters2002-04-281-3/+12
* Make sure that tp_free frees the int the same way as tp_dealloc would.Guido van Rossum2002-04-261-0/+8
* Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum2002-04-031-12/+0
* Bugfix candidate.Guido van Rossum2002-02-011-1/+1
* SF bug #488480: integer multiply to return -max_int-1.Tim Peters2001-12-041-127/+63
* SF bug #487743: test_builtin fails on 64 bit platform.Tim Peters2001-12-011-1/+1
* PyInt_FromString(), int_repr(), int_oct(), int_hex(): Conversion ofBarry Warsaw2001-11-281-5/+7
* Add additional coercion support for "self subtypes" to int, long,Guido van Rossum2001-09-191-1/+12