Staging
v0.5.0
https://github.com/python/cpython
Revision d3ffb8974f85618dfbaacf2d10a32dc0e96f2f3d authored by Amaury Forgeot d'Arc on 09 September 2008, 07:24:30 UTC, committed by Amaury Forgeot d'Arc on 09 September 2008, 07:24:30 UTC
the __long__ slot is allowed to return either int or long, but the behaviour of
float objects should not change between 2.5 and 2.6.

Reviewed by Benjamin Peterson
1 parent 672237d
History
Tip revision: d3ffb8974f85618dfbaacf2d10a32dc0e96f2f3d authored by Amaury Forgeot d'Arc on 09 September 2008, 07:24:30 UTC
#3777: long(4.2) returned an int, and broke backward compatibility.
Tip revision: d3ffb89
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 3.6 KB
LICENSE -rw-r--r-- 13.4 KB
Makefile.pre.in -rw-r--r-- 37.7 KB
README -rw-r--r-- 55.6 KB
configure -rwxr-xr-x 660.2 KB
configure.in -rw-r--r-- 103.3 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 28.6 KB
setup.py -rw-r--r-- 79.6 KB

README

back to top