After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 617796 - [pygi] Clear error if we failed the import
[pygi] Clear error if we failed the import
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
: 619376 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-05-05 18:27 UTC by Colin Walters
Modified: 2010-06-08 08:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[pygi] Clear error if we failed the import (978 bytes, patch)
2010-05-05 18:27 UTC, Colin Walters
accepted-commit_now Details | Review

Description Colin Walters 2010-05-05 18:27:29 UTC
Otherwise we leave the exception set which causes bizarre problems
later in unrelated code.

https://bugzilla.redhat.com/show_bug.cgi?id=569885
Comment 1 Colin Walters 2010-05-05 18:27:31 UTC
Created attachment 160371 [details] [review]
[pygi] Clear error if we failed the import
Comment 2 Tomeu Vizoso 2010-05-27 08:57:46 UTC
*** Bug 619376 has been marked as a duplicate of this bug. ***
Comment 3 Tomeu Vizoso 2010-06-08 08:25:48 UTC
Review of attachment 160371 [details] [review]:

Looks great to me, it fixes the tests when pygobject is built with --enable-pygi. Thanks!