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 619597 - __module__ is wrong for wrapper types
__module__ is wrong for wrapper types
Status: RESOLVED FIXED
Product: pygi
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: 0.6
Assigned To: pygi-maint
pygi-maint
Depends on:
Blocks: 619604
 
 
Reported: 2010-05-25 11:41 UTC by Tomeu Vizoso
Modified: 2010-05-25 14:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Prepend gi.repository to the __module__ attribute of wrapper classes. (1.75 KB, patch)
2010-05-25 12:09 UTC, Tomeu Vizoso
committed Details | Review

Description Tomeu Vizoso 2010-05-25 11:41:43 UTC
We set it to the typelib namespace, which doesn't correspond with the path of the module. It should have 'gi.override.' or 'gi.repository.' prepended.
Comment 1 Tomeu Vizoso 2010-05-25 12:09:48 UTC
Created attachment 161934 [details] [review]
Prepend gi.repository to the __module__ attribute of wrapper classes.
Comment 2 johnp 2010-05-25 14:40:26 UTC
Review of attachment 161934 [details] [review]:

Look good.
Comment 3 Tomeu Vizoso 2010-05-25 14:50:14 UTC
Attachment 161934 [details] pushed as 6156f15 - Prepend gi.repository to the __module__ attribute of wrapper classes.