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 630807 - Add __path__ attributes.
Add __path__ attributes.
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-28 10:53 UTC by Damien Caliste
Modified: 2010-10-13 17:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add __path__ attributes. (1.23 KB, patch)
2010-09-28 10:53 UTC, Damien Caliste
committed Details | Review

Description Damien Caliste 2010-09-28 10:53:34 UTC
This patch improve PyGI performances by adding a __path__ attribute to base
classes so we avoid looking for a __path__ method from the typelib each time
a attribute is accessed.
Comment 1 Damien Caliste 2010-09-28 10:53:37 UTC
Created attachment 171252 [details] [review]
Add __path__ attributes.

Add an attribute __path__ to DynamicModule and IntrospectionModule,
using the path of the typelib.
Comment 2 johnp 2010-10-05 15:18:18 UTC
Comment on attachment 171252 [details] [review]
Add __path__ attributes.

looks good
Comment 3 johnp 2010-10-13 17:35:31 UTC
Attachment 171252 [details] pushed as 03d2e29 - Add __path__ attributes.