commit 3a2bfc8bf01fcae386355bc3652780e198e54d49 Author: Christoph Reiter Date: Mon Apr 14 23:33:52 2014 +0200 Raise TypeError if arguments are passed to Boxed.__init__ This is a partial revert of https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8 which removed a type check in __new__. This adds it back into __init__. Overrides which define __new__ now have to filter out any arguments in __init__ and not the other way around, which is a bit less surprising in the common case. https://bugzilla.gnome.org/show_bug.cgi?id=727810 gi/overrides/GLib.py | 6 ++++++ gi/overrides/Gtk.py | 6 ++++++ gi/overrides/Pango.py | 3 +++ gi/pygi-boxed.c | 6 ++++++ tests/test_gi.py | 4 ++++ 5 files changed, 25 insertions(+) commit 906977047df2fb2f394410e4ebf360b69af8dcfe Author: Christoph Reiter Date: Mon Apr 14 15:40:50 2014 +0200 Gdk.Event: Override __setattr__ to set fields based on the event type Pass the setting of attributes through to the underlying union based on event type. This mirrors the logic in __getattr__. https://bugzilla.gnome.org/show_bug.cgi?id=727810 gi/overrides/Gdk.py | 7 +++++++ tests/test_overrides_gdk.py | 13 ++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd Author: Christoph Reiter Date: Mon Apr 14 13:06:02 2014 +0200 Gdk.Event: Include GdkEventType in __repr__ https://bugzilla.gnome.org/show_bug.cgi?id=727810 gi/overrides/Gdk.py | 4 ++++ tests/test_overrides_gdk.py | 4 ++++ 2 files changed, 8 insertions(+) commit 23965455f060793ffcbc0d8288527d41a667579c