Staging
v0.5.1
https://github.com/python/cpython
Revision a0de26c3427b63efcd0a678c5d686b4df9f105e4 authored by Mark Dickinson on 30 April 2008, 23:30:57 UTC, committed by Mark Dickinson on 30 April 2008, 23:30:57 UTC
particular, the error message now allows one to distinguish between a
ValueError arising from a singularity (e.g. log(0.)), which would
usually produce +-infinity in non-stop mode, and a ValueError resulting
from an invalid input (e.g. sqrt(-1.)), which would normally produce a
NaN in non-stop mode.
1 parent 3cbf15f
History
Tip revision: a0de26c3427b63efcd0a678c5d686b4df9f105e4 authored by Mark Dickinson on 30 April 2008, 23:30:57 UTC
Make floating-point exception error messages slightly more verbose: in
Tip revision: a0de26c
File Mode Size
Python.asdl -rw-r--r-- 4.2 KB
acceler.c -rw-r--r-- 2.8 KB
asdl.py -rw-r--r-- 11.4 KB
asdl_c.py -rwxr-xr-x 38.3 KB
bitset.c -rw-r--r-- 977 bytes
firstsets.c -rw-r--r-- 2.2 KB
grammar.c -rw-r--r-- 5.4 KB
grammar.mak -rw-r--r-- 1.3 KB
grammar1.c -rw-r--r-- 1.0 KB
intrcheck.c -rw-r--r-- 2.3 KB
listnode.c -rw-r--r-- 983 bytes
metagrammar.c -rw-r--r-- 2.2 KB
myreadline.c -rw-r--r-- 5.2 KB
node.c -rw-r--r-- 3.5 KB
parser.c -rw-r--r-- 9.9 KB
parser.h -rw-r--r-- 1.0 KB
parsetok.c -rw-r--r-- 6.8 KB
pgen.c -rw-r--r-- 14.7 KB
pgenmain.c -rw-r--r-- 3.3 KB
printgrammar.c -rw-r--r-- 2.5 KB
spark.py -rw-r--r-- 26.5 KB
tokenizer.c -rw-r--r-- 34.8 KB
tokenizer.h -rw-r--r-- 2.6 KB
tokenizer_pgen.c -rw-r--r-- 36 bytes

back to top