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
abstract.c -rw-r--r-- 48.1 KB
boolobject.c -rw-r--r-- 4.8 KB
bufferobject.c -rw-r--r-- 13.7 KB
cellobject.c -rw-r--r-- 2.3 KB
classobject.c -rw-r--r-- 60.0 KB
cobject.c -rw-r--r-- 3.9 KB
complexobject.c -rw-r--r-- 22.8 KB
descrobject.c -rw-r--r-- 30.1 KB
dictnotes.txt -rw-r--r-- 10.9 KB
dictobject.c -rw-r--r-- 57.0 KB
enumobject.c -rw-r--r-- 8.4 KB
fileobject.c -rw-r--r-- 58.4 KB
floatobject.c -rw-r--r-- 33.5 KB
frameobject.c -rw-r--r-- 21.9 KB
funcobject.c -rw-r--r-- 21.4 KB
genobject.c -rw-r--r-- 2.9 KB
intobject.c -rw-r--r-- 27.3 KB
iterobject.c -rw-r--r-- 5.4 KB
listobject.c -rw-r--r-- 68.3 KB
listsort.txt -rw-r--r-- 30.7 KB
longobject.c -rw-r--r-- 72.8 KB
methodobject.c -rw-r--r-- 8.1 KB
moduleobject.c -rw-r--r-- 6.2 KB
object.c -rw-r--r-- 48.3 KB
obmalloc.c -rw-r--r-- 44.5 KB
rangeobject.c -rw-r--r-- 9.1 KB
setobject.c -rw-r--r-- 26.0 KB
sliceobject.c -rw-r--r-- 7.5 KB
stringobject.c -rw-r--r-- 103.4 KB
structseq.c -rw-r--r-- 9.5 KB
tupleobject.c -rw-r--r-- 19.5 KB
typeobject.c -rw-r--r-- 147.6 KB
unicodectype.c -rw-r--r-- 8.4 KB
unicodeobject.c -rw-r--r-- 189.2 KB
unicodetype_db.h -rw-r--r-- 75.4 KB
weakrefobject.c -rw-r--r-- 28.5 KB

back to top