[Pythonmac-SIG] Catching exceptions with Python from a Shared Library

Christian Reyes christian@rocketnetwork.com
Wed, 15 Nov 2000 20:57:49 -0800


Catching exceptions from a Shared Library

Using Phil Thompson's SIP tool, I've wrapped a C++ DLL into a Python shared
library.
However, I'm having major difficulties handling any exceptions that get
thrown from the DLL into Python.

My question is, is this even possible with MAC Python?  Does Mac Python
handle exceptions thrown from a DLL?
If so, what do I need to do to get this to work?

Please help,
christian@rocketnetwork.com