[PyKDE] SIP and C++ exceptions?

Phil Thompson phil at river-bank.demon.co.uk
Thu May 9 01:55:07 BST 2002

Bjorn Pettersen wrote:
> Is there a way in SIP to translate from C++ exceptions to Python
> exceptions? I.e. I have a C++ method that can throw FooException, I want
> to be able to either catch an automagically wrapped SIP version of this
> class. If this isn't possible directly any workarounds would be
> appreciated..

The short answer is no. It has been discussed in the past, but I was
told that different compiler implementations made it difficult to
implement. Things may have moved on since then.


More information about the PyQt mailing list