I am pleased to announce version 3.7.2 of the Python bindings for GObject. This is the second release of the 3.7.x series which will eventually result in the stable 3.8 release for GNOME 3.8. This version contains some major refactoring. A lot of effort was spent on ensuring API stability, but there could be some regressions for edge cases, so please do report bugs if you see some. Download ======== The new release is available from ftp.gnome.org: http://download.gnome.org/sources/pygobject/3.7/pygobject-3.7.2.tar.xz sha256sum: 6fd4559ed21ffe73faeb7809097d4656c0186cfaef9d048ef406472de7cfc551 What’s new since PyGObject 3.7.1 ================================= - [API change] Drop almost all static GLib bindings and replace them with proper introspection. This gets rid of several cases where the PyGObject API was not matching the real GLib API, makes the full GLib API available through introspection, and makes the code smaller, easier to maintain. For backwards compatibility, overrides are provided to emulate the old static binding API, but this will throw a PyGIDeprecationWarning for the cases that diverge from the official API (in particular, GLib.io_add_watch() and GLib.child_watch_add() being called without a priority argument). (Martin Pitt, Simon Feltman) - [API change] Deprecate calling GLib API through the GObject namespace. This has always been a misnomer with introspection, and will be removed in a later version; for now this throws a PyGIDeprecationWarning. - [API change] Do not bind gobject_get_data() and gobject_set_data(). These have been deprecated for a cycle, now dropped entirely. (Steve Frécinaux) (#641944) - [API change] Deprecate void pointer fields as general PyObject storage. (Simon Feltman) (#683599) - Add support for GVariant properties (Martin Pitt) - Add type checking to GVariant argument assignment (Martin Pitt) - Fix marshalling of arrays of struct pointers to Python (Carlos Garnacho) (#678620) - Fix Gdk.Atom to have a proper str() and repr() (Martin Pitt) (#678620) - Make sure g_value_set_boxed does not cause a buffer overrun with GStrvs (Simon Feltman) (#688232) - Fix leaks with GValues holding boxed and object types (Simon Feltman) (#688137) - Add doc strings showing method signatures for gi methods (Simon Feltman) (#681967) - Set Property instance doc string and blurb to getter doc string (Simon Feltman) (#688025) - Add GObject.G_MINSSIZE (Martin Pitt) - Fix marshalling of GByteArrays (Martin Pitt) - Fix marshalling of ssize_t to smaller ints (Martin Pitt) - Add support for lcov code coverage, and add a lot of missing GIMarshallingTests and g-i Regress tests. (Martin Pitt) - pygi-convert: remove deprecated GLib → GObject conversions (Jose Rostagno) - Add support for overriding GObject.Object (Simon Feltman) (#672727) - Add --with-python configure option (Martin Pitt) - Do not prefer unversioned "python" when configuring, as some distros have "python" as Python 3. Use Python 3 by default if available. Add --with-python configure option as an alternative to setting $PYTHON, whic is more discoverable. (Martin Pitt) - Fix property lookup in class hierarchy (Daniel Drake) (#686942) - Move property and signal creation into _class_init() (Martin Pitt) (#686149) - Fix duplicate symbols error on OSX (John Ralls) - [API add] Add get_introspection_module for getting un-overridden modules (Simon Feltman) (#686828) - Work around wrong 64 bit constants in GLib Gir (Martin Pitt) (#685022) - Mark GLib.Source.get_current_time() as deprecated (Martin Pitt) - Fix OverflowError in source_remove() (Martin Pitt) (#684526) About PyGObject =============== GObject is a object system used by GTK+, GStreamer and other libraries. PyGObject provides a convenient wrapper for use in Python programs when accessing GObject libraries. Like the GObject library itself PyGObject is licensed under the GNU LGPL, so is suitable for use in both free software and proprietary applications. It is already in use in many applications ranging from small single purpose scripts up to large full featured applications. PyGObject now dynamically accesses any GObject libraries that uses GObject Introspection. It replaces the need for separate modules such as PyGTK, GIO and python-gnome to build a full GNOME 3.0 application. Once new functionality is added to gobject library it is instantly available as a Python API without the need for intermediate Python glue. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Attachment:
signature.asc
Description: Digital signature