[issue12232] embedded python import cmath

2019-10-22 Thread STINNER Victor
STINNER Victor added the comment: No activity since 2011, I close the issue. -- nosy: +vstinner resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker __

[issue12232] embedded python import cmath

2011-06-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12232] embedded python import cmath

2011-06-06 Thread Mark Dickinson
Mark Dickinson added the comment: Looking at the cmath source, I'd be a bit suspicious that either the Py_NAN or the Py_HUGE_VAL macro (or both) is triggering an FPE. Both those values are used during module initialization. -- ___ Python tracker

[issue12232] embedded python import cmath

2011-06-06 Thread Mark Dickinson
Mark Dickinson 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 so

[issue12232] embedded python import cmath

2011-06-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Is it possible that the problem is related to floating point exceptions? A quick Google search showed similar issue in another embedded library: http://www.softintegration.com/support/faq/embed.html#borland It seems important to add this instruction: _

[issue12232] embedded python import cmath

2011-06-06 Thread Thanh Ly
Thanh Ly added the comment: Hi Terry With BB 6 I import python26.dll and embed and extend Python in the same project (sent) fairly successfully. I converted the DLL to a BB format lib file and manage to extend Python successfully but could not link when trying to embed Python with the Lib fi

[issue12232] embedded python import cmath

2011-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: {It you reply by mail, please snip off the message you are replying to.} >From what I have read, Windows is not a very pleasant environment for >extending and embedding. 1. It works best if both Python and the extender or embedder are compiled with the same

[issue12232] embedded python import cmath

2011-06-04 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12232] embedded python import cmath

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hanging is different from crashing. 2.6 and 3.1 (soon) are only open for security issues. Perhaps your system is missing something needed for the import. If you want this to stay open, retest with 2.7 or 3.2 and give much more information: your system/OS, C/C+

[issue12232] embedded python import cmath

2011-05-31 Thread Thanh Ly
New submission from Thanh Ly : Calling Python script from C/C++ seems to work fine until using 'import cmath' causing the C/C++ application to hang. Other modules can be imported such as 'math'. -- messages: 137408 nosy: Thanh Ly priority: normal severity: normal status: open title: em