[pygtk] Exception handling
Jacob Kroon
jacob.kroon at gmail.com
Tue Feb 28 00:37:08 WST 2006
Hi,
I'm developing a gobject based library in C, which I provide python
wrappers for,
and I want to make exception handling work when using python.
I'm investigating using GError in the C sources, but I can't seem to
find a way
to pass arbitrary parameters to the exception. For instance, I want a
certain object
method to generate an exception in which I provide another object. With
GError I
can only set a text message, and nothing more.
Anyone got an idea ?
//Jacob
More information about the pygtk
mailing list