[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] Question about exception handling
From: Nyall Dawson <nyall.dawson () gmail ! com>
Date: 2017-09-26 6:19:49
Message-ID: CAB28AsjcnivpXiXXSS04Tzz6vpYWiPDa-742zycjQcxXLM=mDQ () mail ! gmail ! com
[Download RAW message or body]
Hi list,
I'm seeking some clarification about exception handling in sip bindings.
I've hunted through the docs but can't find clear explanation about
how c++ exceptions are handled by Python subclasses. Specifically, if
I have:
- a c++ base class with a virtual method
- a Python subclass which implements this virtual method
- the Python method calls some c++ code, which throws a exception
which is NOT handled by the Python code.
- the exception is caught further up the c++ stack
What should happen here? Does this scenario leave Python in an unstable state?
Nyall
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic