[PyQt] Exceptions in Python Implementations of Virtuals

Mathias.Born at gmx.de Mathias.Born at gmx.de
Wed Oct 1 23:28:26 BST 2014


Oh, sorry, I missed that. Thanks.

On 02.10.2014, 23:04:14 Phil Thompson wrote:
> 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
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list