]> granicus.if.org Git - python/commit
Issue 2662: Initialize special value tables dynamically (i.e. when
authorMark Dickinson <dickinsm@gmail.com>
Sun, 20 Apr 2008 16:13:17 +0000 (16:13 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sun, 20 Apr 2008 16:13:17 +0000 (16:13 +0000)
commit98c317a34dfcc7795484490c2305e817e3e7cc31
tree4add26bdf7e41a55e54aaa85dae21d58380952ed
parentcec3f138d8cd6c5e3fd78200119a94d59440cfad
Issue 2662: Initialize special value tables dynamically (i.e. when
cmath module is loaded) instead of statically. This fixes compile-time
problems on platforms where HUGE_VAL is an extern variable rather than
a constant.

Thanks Hirokazu Yamamoto for the patch.
Modules/cmathmodule.c