PyGObject 3.14.0 has just been released. This is the first major release of the 3.14 series and includes refactoring, bug-fixes, performance improvements, and a few API additions. Thanks to all the contributors and a special shout-out to Garrett Regier for some excellent refactoring and marshaling unification work for Python implemented virtual methods. This work enables out and inout array arguments for Python implemented virtual methods.
PyGObject is run-time binding system for exposing the GNOME platform to Python. This includes libraries like GTK+, GStreamer, Gio, Clutter, and much more.
Notable changes since PyGObject 3.12.0:
- Gdk.Event supports setting union member fields directly based on the event type (Christoph Reiter) (#727810)
- GLib.GError and GLib.Error are now unified (Simon Feltman) (#712519)
- Non-introspected signals support marshaling cairo objects (Simon Feltman) (#694604)
- GTypeClass methods show up as Python GObject class methods
(Johan Dahlin) (#685218) - Widget.style_get_property and Container.child_get_property return values as Python native types when applicable, making the GValue argument optional. (Simon Feltman) (#685076)
- Windows build fixes (Alexey Pavlov) (#734287, #734286, #734289, #734284)
- Support for arrays with length fields on structs (Simon Feltman) (#688792)
- Fast path Python property access (Simon Feltman) (#723872)
- Memory leak fixes when accessing properties which are boxed types (Simon Feltman) (#726999)
- [New API] Add gi.require_foreign (Simon Feltman) (#707735)
- [New API] Add Gtk.Container.child_get/set overrides to match the C API (Simon Feltman) (#685076)
- [New API] Add Python implementation of Object.connect_data() (Simon Feltman) (#701843)
Download
The new release is available from ftp.gnome.org and git.gnome.org: