[issue12232] embedded python import cmath

Mark Dickinson report at bugs.python.org
Mon Jun 6 21:51:01 CEST 2011


Mark Dickinson <dickinsm at gmail.com> added the comment:

> Is it possible that the problem is related to floating point exceptions?

Hmm.  It's possible, but it's still a bit surprising that the crash occurs at import time rather than when calling one of the cmath functions.  But it's very possible that there are some missing PyFPE_START_PROTECT macros in the cmath source.

BTW, if the problem *is* in cmath, it's likely to also occur with Python 2.7:  that module changed very little between 2.6 and 2.7.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12232>
_______________________________________


More information about the Python-bugs-list mailing list