Staging
v0.5.1
https://github.com/python/cpython
Revision c54d19043a595679f253a55e46fda2910f513c52 authored by Tim Peters on 06 October 2000, 00:36:09 UTC, committed by Tim Peters on 06 October 2000, 00:36:09 UTC
raise ValueError.  Checked in the patch as far as it went, but also changed
all of ints, longs and floats to raise ZeroDivisionError instead when raising
0 to a negative number.  This is what 754-inspired stds require, as the "true
result" is an infinity obtained from finite operands, i.e. it's a singularity.
Also changed float pow to not be so timid about using its square-and-multiply
algorithm.  Note that what math.pow does is unrelated to what builtin pow
does, and will still vary by platform.
1 parent 4779a0a
History
Tip revision: c54d19043a595679f253a55e46fda2910f513c52 authored by Tim Peters on 06 October 2000, 00:36:09 UTC
SF bug 115831 and Ping's SF patch 101751, 0.0**-2.0 returns inf rather than
Tip revision: c54d190
File Mode Size
example_nt
os2vacpp
src
utils
vc15_lib
vc15_w31
wat_dos
wat_os2
WinMain.c -rw-r--r-- 484 bytes
_winreg.c -rw-r--r-- 41.9 KB
config.c -rw-r--r-- 2.6 KB
config.h -rw-r--r-- 19.9 KB
dl_nt.c -rw-r--r-- 906 bytes
dllbase_nt.txt -rw-r--r-- 2.2 KB
frozen_dllmain.c -rw-r--r-- 3.6 KB
getpathp.c -rw-r--r-- 14.0 KB
import_nt.c -rw-r--r-- 2.4 KB
make8x3.py -rw-r--r-- 2.2 KB
makesrc.exe -rw-r--r-- 25.0 KB
msvcrtmodule.c -rwxr-xr-x 4.2 KB
py.ico -rw-r--r-- 766 bytes
pyc.ico -rw-r--r-- 766 bytes
pycon.ico -rw-r--r-- 766 bytes
pyth_w31.def -rw-r--r-- 128 bytes
python.mk -rw-r--r-- 234 bytes
python.wpj -rw-r--r-- 412 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.4 KB
readme.txt -rw-r--r-- 5.5 KB
testpy.py -rw-r--r-- 850 bytes
w9xpopen.c -rw-r--r-- 1.7 KB
winsound.c -rw-r--r-- 4.4 KB

readme.txt

back to top