[PyQt] Exceptions in Python Implementations of Virtuals
Phil Thompson
phil at riverbankcomputing.com
Wed Oct 1 22:04:14 BST 2014
On 01/10/2014 9:00 pm, Mathias.Born at gmx.de wrote:
> What about non-Qt C++ libraries wrapped with sip?
>
> Can we have an option to have an exception
> thrown into the caller?
You can do that now if you write a handler for the library...
http://pyqt.sourceforge.net/Docs/sip4/directives.html#directive-%VirtualErrorHandler
Phil
More information about the PyQt
mailing list