diff options
author | Guido van Rossum <guido@python.org> | 1994-09-28 15:51:32 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-09-28 15:51:32 +0000 |
commit | 5494d66d804397bf061997ed06da95b3c975905b (patch) | |
tree | 5db8d34b126d8a6dc7bc107693f8457a4c675c12 /Python/pythonmain.c | |
parent | 324de6c342ba07f251bb48d039350428a2803633 (diff) | |
download | cpython-5494d66d804397bf061997ed06da95b3c975905b.tar.gz |
* 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?)
Diffstat (limited to 'Python/pythonmain.c')
0 files changed, 0 insertions, 0 deletions