PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 1123 - Mechanism for handling and translating C++ exceptions to Python
: Mechanism for handling and translating C++ exceptions to Python
Status: NEW
Product: PySide
Classification: Unclassified
Component: Shiboken
: HEAD
: All All
: P4 enhancement
Assigned To: Marcelo Lira
:
:
:
  Show dependency treegraph
 
Reported: 2012-01-17 12:51 EET by Dennis
Modified: 2012-03-08 16:57 EET (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis 2012-01-17 12:51:11 EET
It would be great have "c++ to python" Exception translation in shiboken
bindings code.

Similar functionality is implemented in Boost.Python with
boost::python::register_exception_translator
(http://www.boost.org/doc/libs/1_41_0/libs/python/doc/v2/exception_translator.html)

Idea was already discussed in groups:
http://groups.google.com/group/pyside/browse_thread/thread/600aed30a6664e59

Exception mapping will really help to solve the problem we're working on in our
project using PySide.
Maybe there are simple solution or workaround. Any suggestions appreciated.
Thank You.
Dennis.
Comment 1 Matti Airas 2012-03-08 16:57:48 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!