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
Modules
Python
support
Makefile -rw-r--r-- 14.5 KB
README -rw-r--r-- 1.2 KB
pyconfig.h -rw-r--r-- 17.5 KB
sleep.c -rw-r--r-- 866 bytes
unixstuff.c -rw-r--r-- 1.7 KB
unixstuff.h -rw-r--r-- 318 bytes

README

back to top