C++ Exceptions in Python extensions
Duncan Grisby
dgrisby at uk.research.att.com
Thu Jan 17 05:44:59 EST 2002
In article <mailman.1011219153.16782.python-list at python.org>,
eric <eric at enthought.com> wrote:
>I'm stuck and would appreciate some eyeballs experienced with
>C++/Python. I need to know if the problem I am seeing extensions is a
>compiler problem or a problem with weave
>(www.scipy.org/site_content/weave). Weave uses CXX in the C/C++
>modules it generates and has been tested on W2K (MSVC and gcc-
>2.95.2), RH 7.1, BSD, and Solaris successfully. However, two sources
>reported errors on Mandrake 8.0 and 8.1 with gcc-2.96 installed (same
>compiler that passes all tests on RH 7.1...) On Mandrake, weave
>extensions will produce an "Aborted" error for some situations:
I have seen the same sort of error on RH 7.1 when glibc hasn't been
updated. The error occurs both with C++ called from Python and from
Apache. It seems to be due to the use of dlopen. The working RedHat
RPMs call themselves glibc-2.2.4-19. I don't know about Mandrake.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --
More information about the Python-list
mailing list