0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 18:51:15 +01:00
cpython/Objects
Guido van Rossum 03093a248d * Include/classobject.h, Objects/classobject.c, Python/ceval.c:
entirely redone operator overloading.  The rules for class
	instances are now much more relaxed than for other built-in types
	(whose coerce must still return two objects of the same type)

	* Objects/floatobject.c: add overflow check when converting float
	to int and implement truncation towards zero using ceil/float

	* Objects/longobject.c: change ValueError to OverflowError when
	converting to int

	* Objects/rangeobject.c: modernized

	* Objects/stringobject.c: use HAVE_LIMITS instead of __STDC__

	* Objects/xxobject.c: changed to use new style (not finished?)
1994-09-28 15:51:32 +00:00
..
accessobject.c Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
classobject.c * Include/classobject.h, Objects/classobject.c, Python/ceval.c: 1994-09-28 15:51:32 +00:00
dictobject.c Merge back to main trunk 1994-08-30 08:27:36 +00:00
fileobject.c Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
floatobject.c * Include/classobject.h, Objects/classobject.c, Python/ceval.c: 1994-09-28 15:51:32 +00:00
frameobject.c Merge back to main trunk 1994-08-30 08:27:36 +00:00
funcobject.c Merge back to main trunk 1994-08-30 08:27:36 +00:00
intobject.c mods by Andrew Kuchling to implement 1994-08-29 12:48:32 +00:00
listobject.c Correct problems found by THINK C 6.0 1994-08-29 12:45:32 +00:00
longobject.c * Include/classobject.h, Objects/classobject.c, Python/ceval.c: 1994-09-28 15:51:32 +00:00
Makefile.in * configure.in, */Makefile*.in: OPT can now be specified in the 1994-08-23 14:06:18 +00:00
mappingobject.c Merge back to main trunk 1994-08-30 08:27:36 +00:00
methodobject.c Merge back to main trunk 1994-08-30 08:27:36 +00:00
moduleobject.c Merge back to main trunk 1994-08-30 08:27:36 +00:00
object.c rearranged code in debugging version of DELREF to avoid touching data 1994-09-07 14:36:45 +00:00
rangeobject.c * Include/classobject.h, Objects/classobject.c, Python/ceval.c: 1994-09-28 15:51:32 +00:00
stringobject.c * Include/classobject.h, Objects/classobject.c, Python/ceval.c: 1994-09-28 15:51:32 +00:00
tupleobject.c Merge back to main trunk 1994-08-30 08:27:36 +00:00
typeobject.c Merge back to main trunk 1994-08-30 08:27:36 +00:00
xxobject.c * Include/classobject.h, Objects/classobject.c, Python/ceval.c: 1994-09-28 15:51:32 +00:00