Description
Hi and thanks for the great PySide project.
Currently Shiboken doesn't have a mechanism for handling C++ code that throws exceptions.
So any exception raised in c++ causes segfault.
Boost.Python has boost::python::register_exception_translator
It would be great to have generated exception-safe bindings code so C++ exceptions are translated and raised as Python exceptions.
It will really help us with the project where we're using PySide for C++ with embeded python.
The idea was already discussed in group:
http://groups.google.com/group/pyside/browse_thread/thread/600aed30a6664e59?pli=1
(in new google groups: https://groups.google.com/forum/#!topic/pyside/YArtMKZmTlk)
Best Regards.
Dennis.
Attachments
Issue Links
- relates to
-
PYSIDE-218 segfault when including boost share_ptr header (proposed workaround / patch)
- Closed
-
PYSIDE-97 Shiboken parsing boost headers fails
- Closed