[C++-sig] Strange about the C++ exception in Python

Roman Yakovenko roman.yakovenko at gmail.com
Sun Jul 13 07:35:42 CEST 2008


On Fri, Jul 11, 2008 at 10:15 PM, Grant <grant.tang at gmail.com> wrote:
> By googling I found this comment:
>
> "Many platforms and compilers are not able to consistently catch exceptions
> thrown across shared library boundaries."

It works fine for me on Windows and on Linux.

> Does that mean my problem is unsolvable?
> I am really curious how you guys deal with c++ exceptions in Python?

This is what I am doing:
http://language-binding.net/pyplusplus/troubleshooting_guide/exceptions/exceptions.html

By the way you can find scons script there, so you can compare what is
going on when you build your modules.


-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list