[issue12232] embedded python import cmath

Terry J. Reedy report at bugs.python.org
Sun Jun 5 02:10:13 CEST 2011


Terry J. Reedy <tjreedy at 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 with the same version (of Microsoft VC). Does Borland Builder 6 claim compatibility with any particular versions of MS C++?

2. Problems like this probably need a debug build of Python, which you would have to make yourself, and unlike *nux, Windows does not come with a system compiler. (There is now, however, a free VC Express, but I believe the one needed to go with 2.6 is no longer available ;-(.

I am inclined to close this both because it does not involve current Python and because it appears to be an issue with BB or the interface that is out of our control (as you said, Python by itself works fine). I am only leaving this open to give you a chance to provide evidence otherwise with 2.7 or 3.2.

I recommend that you might try the trivial 'import cmath\n' with other Python versions. Which versions would depend on what BB6 claims to be compatible with.

I also recommend that you ask for help on python-list or other forums
(such a Stackoverflow). Use a subject like "Embedding Python 2.6 with Borland Builder 6" This might catch the attention of someone who knows something about BB.

----------

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


More information about the Python-bugs-list mailing list