[pygtk] GError-Exception support and exception handling in GOption

Johan Dahlin jdahlin at async.com.br
Fri May 26 02:40:43 WST 2006


> the gobject.option implementation of GOption currently doesn't handle
> errors when for example an option gets the wrong argument (for example:
> "--number=text"). 
> 
> To support exception in gobject.Option i implemented:

Cool. Seems nice.

> The attached patch adds this function and the exception handling in
> GOption.

Please, attach patches in bugzilla or they will be forgotten.

-- 
Johan Dahlin <jdahlin at async.com.br>
Async Open Source


More information about the pygtk mailing list