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

README

back to top