[EMAIL PROTECTED] wrote:
>     Michael> is there a way to trap gtk assertions in pygtk?  
> 
> None that I'm aware of.  I believe I've asked about this before as well.  It
> would be *really* nice if these got translated into Python exceptions by
> PyGTK.

python -Werror ...

However it gives "interesting" output;

Exception gtk.GtkWarning: <gtk.GtkWarning instance at 0xb7265fcc> in
'garbage collection' ignored
Fatal Python error: unexpected exception during garbage collection

:-)

-- 
Johan Dahlin <[EMAIL PROTECTED]>
Async Open Source
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to