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

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to