Re: Exception Handling on Linux

Roman Yakovenko <[email protected]>
Newsgroups gmane.comp.python.ctypes
Message-ID <[email protected]>
On Wed, Dec 16, 2009 at 3:34 PM, Bilokon, Paul <[email protected]> wrote:
> Hi Roman,
>
> My apologies, I meant a C++ function.
>
> Many thanks for your explanation. If I throw an C++ exception, which isn't handled eventually, do I get a signal on Linux? If so, is there any way to get at it in Python?
>
> Changing the function is probably not an option, but I would like to at least prevent it from core-dumping and return to my Python code.

You will have to provide more information. ctypes is not able to call C++ code.

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

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.