Staging
v0.5.1
Revision 03093a248d4ef3af23a5906dea276c01e0c1ae2c authored by Guido van Rossum on 28 September 1994, 15:51:32 UTC, committed by Guido van Rossum on 28 September 1994, 15:51:32 UTC
	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?)
1 parent 2929527
History
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
Parser
Python
Tools
.hgtags -rw-r--r-- 192 bytes
BUGS -rw-r--r-- 6.3 KB
ChangeLog -rw-r--r-- 62.3 KB
Makefile.in -rw-r--r-- 8.0 KB
README -rw-r--r-- 18.1 KB
TODO -rw-r--r-- 7.8 KB
acconfig.h -rw-r--r-- 2.1 KB
config.h.in -rw-r--r-- 7.5 KB
configure -rwxr-xr-x 62.9 KB
configure.in -rw-r--r-- 7.1 KB

README

back to top