Staging
v0.5.1
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
python-mappings
Makefile -rw-r--r-- 1.7 KB
comparecodecs.py -rw-r--r-- 1.4 KB
gencjkcodecs.py -rw-r--r-- 1.9 KB
gencodec.py -rw-r--r-- 11.8 KB
listcodecs.py -rw-r--r-- 1015 bytes
makeunicodedata.py -rw-r--r-- 30.6 KB
mkstringprep.py -rw-r--r-- 9.8 KB

back to top