summaryrefslogtreecommitdiff
path: root/Objects/intobject.c
AgeCommit message (Expand)AuthorLines
2003-01-19Backport SF # 669553, fix memory (ref) leaksNeal Norwitz-1/+8
2002-09-23Backport 2.93 from trunk:Guido van Rossum-3/+30
2002-08-13Backport:Guido van Rossum-2/+4
2002-08-09Only call sq_repeat if the object does not have a nb_multiply slot. OneNeil Schemenauer-6/+8
2002-04-26backport gvanrossum's patch:Anthony Baxter-0/+8
2002-02-19Backport gvanrossum's checkin of revision 2.80:Michael W. Hudson-1/+1
2001-12-04SF bug #488480: integer multiply to return -max_int-1.Tim Peters-121/+57
2001-12-01SF bug #487743: test_builtin fails on 64 bit platform.Tim Peters-1/+1
2001-11-28PyInt_FromString(), int_repr(), int_oct(), int_hex(): Conversion ofBarry Warsaw-5/+7
2001-09-19Add additional coercion support for "self subtypes" to int, long,Guido van Rossum-1/+12
2001-09-15A fix for SF bug #461546 (bug in long_mul).Guido van Rossum-4/+6
2001-09-11More bug 460020. When I is a subclass of int, disable the +I(whatever),Tim Peters-10/+10
2001-09-11Replace a few places where X->ob_type was compared to &PyXXX_Type withGuido van Rossum-4/+4
2001-09-05Make the error msgs in our pow() implementations consistent.Tim Peters-3/+3
2001-09-04Change long/long true division to return as many good bits as it can;Tim Peters-1/+8
2001-09-04Move int_true_divide next to the other division routines.Tim Peters-6/+6
2001-09-03New restriction on pow(x, y, z): If z is not None, x and y must be ofTim Peters-0/+5
2001-08-31Add warning mode for classic division, almost exactly as specified inGuido van Rossum-2/+23
2001-08-30Fix typo: double semicolons.Guido van Rossum-1/+1
2001-08-29Make int, long and float subclassable.Guido van Rossum-7/+40
2001-08-23err_ovf(): only raise OverflowError when OverflowWarning was raised.Guido van Rossum-1/+2
2001-08-23int_pow(): Repair typo when passing on to float pow (the 2nd argument wasTim Peters-1/+1
2001-08-23Change all case where we used to raise OverflowError to issue aGuido van Rossum-56/+88
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-0/+4
2001-08-08Implement PEP 238 in its (almost) full glory.Guido van Rossum-0/+10
2001-08-02Merge of descr-branch back into trunk.Tim Peters-16/+69
2001-07-19Kill more warnings from the SGI compiler.Fred Drake-1/+1
2001-07-12On int to the negative integral power, let float handle it instead ofGuido van Rossum-7/+5
2001-06-18SF bug 434186: 0x80000000/2 != 0x80000000>>1Tim Peters-23/+17
2001-03-06Use Py_CHARMASK for ctype macros. Fixes bug #232787.Martin v. Löwis-1/+1
2001-01-17Rich comparisons fall-out:Guido van Rossum-14/+1
2001-01-04Make int a new style number type. Sequence repeat is now done hereNeil Schemenauer-64/+116
2000-10-24Ka-Ping Yee <ping@lfw.org>:Fred Drake-5/+5
2000-10-06SF bug 115831 and Ping's SF patch 101751, 0.0**-2.0 returns inf rather thanTim Peters-2/+6
2000-10-05Move LONG_BIT from intobject.c to pyport.h. #error if it's already beenTim Peters-8/+0
2000-09-26Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake-12/+0
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-07-16Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters-1/+1
2000-07-09ANSI-fication of the sources.Fred Drake-89/+38
2000-07-08Cray J90 fixes for long ints.Tim Peters-4/+1
2000-06-30Change copyright notice - 2nd try.Guido van Rossum-6/+0
2000-06-30Change copyright notice.Guido van Rossum-21/+6
2000-06-30Trent Mick <trentm@activestate.com>:Fred Drake-2/+2
2000-05-09Replace PyErr_BadArgument() error in PyInt_AsLong() with "an integerGuido van Rossum-1/+1
2000-05-03Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum-8/+6
2000-04-05Marc-Andre's third try at this bulk patch seems to work (except thatGuido van Rossum-0/+18
2000-03-10Many changes for Unicode, by Marc-Andre Lemburg.Guido van Rossum-1/+1
2000-02-15In response to one particular complaint on edu-sig, change some errorGuido van Rossum-3/+3
2000-01-20The rest of the changes by Trent Mick and Dale Nagata for warning-freeGuido van Rossum-1/+1
1999-10-12Mainlining the string_methods branch. See branch revision logBarry Warsaw-0/+43