[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 Thanh Ly
Thanh Ly than...@ntlworld.com 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

[issue12232] embedded python import cmath

2011-06-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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

[issue12232] embedded python import cmath

2011-06-06 Thread Mark Dickinson
Mark Dickinson dicki...@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

[issue12232] embedded python import cmath

2011-06-06 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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. --

[issue12232] embedded python import cmath

2011-06-06 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12232 ___ ___ Python-bugs-list

[issue12232] embedded python import cmath

2011-06-04 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12232 ___ ___

[issue12232] embedded python import cmath

2011-06-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue12232] embedded python import cmath

2011-06-03 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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:

[issue12232] embedded python import cmath

2011-05-31 Thread Thanh Ly
New submission from Thanh Ly than...@ntlworld.com: 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