Staging
v0.5.1
https://github.com/python/cpython
Revision 154a884e6b562dc5b9f04c8a114a7efd12e42723 authored by Andrew M. Kuchling on 05 October 2006, 19:08:30 UTC, committed by Andrew M. Kuchling on 05 October 2006, 19:08:30 UTC
 this code is only used if WITHOUT_COMPLEX is *not* defined, which is the
 common case for Python builds.]

This code is actually not used unless WITHOUT_COMPLEX is defined.
However, there was no error checking that PyFloat_FromDouble returned
a valid pointer.  I believe this change is correct as it seemed
to follow other code in the area.

Klocwork # 292.
1 parent 720ea07
History
Tip revision: 154a884e6b562dc5b9f04c8a114a7efd12e42723 authored by Andrew M. Kuchling on 05 October 2006, 19:08:30 UTC
[Backport r51221 | neal.norwitz -- the original commit message is wrong;
Tip revision: 154a884
File Mode Size
acceler.c -rw-r--r-- 2.8 KB
bitset.c -rw-r--r-- 949 bytes
firstsets.c -rw-r--r-- 2.2 KB
grammar.c -rw-r--r-- 5.2 KB
grammar.mak -rw-r--r-- 1.3 KB
grammar1.c -rw-r--r-- 1.0 KB
intrcheck.c -rw-r--r-- 2.4 KB
listnode.c -rw-r--r-- 983 bytes
metagrammar.c -rw-r--r-- 2.2 KB
myreadline.c -rw-r--r-- 5.4 KB
node.c -rw-r--r-- 3.5 KB
parser.c -rw-r--r-- 8.9 KB
parser.h -rw-r--r-- 1000 bytes
parsetok.c -rw-r--r-- 5.0 KB
pgen.c -rw-r--r-- 14.2 KB
pgenmain.c -rw-r--r-- 3.2 KB
printgrammar.c -rw-r--r-- 2.4 KB
tokenizer.c -rw-r--r-- 32.4 KB
tokenizer.h -rw-r--r-- 2.3 KB
tokenizer_pgen.c -rw-r--r-- 36 bytes

back to top