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 687488 - Remove DynamicGLibModule and DynamicGObjectModule
Remove DynamicGLibModule and DynamicGObjectModule
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on: 686765 687487
Blocks: 672727 685373
 
 
Reported: 2012-11-03 02:08 UTC by Simon Feltman
Modified: 2012-11-06 08:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove DynamicGLibModule and DynamicGObjectModule (9.78 KB, patch)
2012-11-06 02:34 UTC, Simon Feltman
committed Details | Review
Remove DynamicGLibModule and DynamicGObjectModule (9.78 KB, patch)
2012-11-06 08:14 UTC, Simon Feltman
committed Details | Review

Description Simon Feltman 2012-11-03 02:08:30 UTC
These classes live in gi/module.py and handle layering of the static bindings on top of the introspection bindings for GLib and GObject. The layering currently works by the static bindings taking precedence over anything brought in through introspection or override modules. As large chunks of the static bindings move into overrides, these dynamic modules will no longer be necessary and should be removed in favor of the override files explicitly pulling things in from the static bindings so we have better control of how the layer works.
Comment 1 Martin Pitt 2012-11-03 10:31:17 UTC
I agree, that will make the structure quite a bit simpler, and should also bring some performance improvement due to having one less layer of indirection. Do you want to work on that?
Comment 2 Simon Feltman 2012-11-04 04:46:32 UTC
Sure. This task should be easy enough once bug 686765 and bug 687487 are completed.
Comment 3 Simon Feltman 2012-11-06 02:34:16 UTC
Created attachment 228207 [details] [review]
Remove DynamicGLibModule and DynamicGObjectModule

Move final bits of _glib static binding imports directly into
the GLib override. Change _glib/option use the .so directly
rather than the staged variables in _glib/__init__.py.
Remove DynamicGLibModule and DynamicGObjectModule and update
unittest.
Comment 4 Martin Pitt 2012-11-06 08:08:29 UTC
Comment on attachment 228207 [details] [review]
Remove DynamicGLibModule and DynamicGObjectModule

This is looking good, please commit.

Thanks a lot! This patch feels like a reward after a rather long cleanup session! :-)
Comment 5 Simon Feltman 2012-11-06 08:14:45 UTC
The following fix has been pushed:
2cbb54e Remove DynamicGLibModule and DynamicGObjectModule
Comment 6 Simon Feltman 2012-11-06 08:14:51 UTC
Created attachment 228211 [details] [review]
Remove DynamicGLibModule and DynamicGObjectModule

Move final bits of _glib static binding imports directly into
the GLib override. Change _glib/option use the .so directly
rather than the staged variables in _glib/__init__.py.
Remove DynamicGLibModule and DynamicGObjectModule and update
unittest.