summaryrefslogtreecommitdiff
path: root/PKG-INFO.in
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2011-02-23 14:14:16 -0500
committerJohn (J5) Palmieri <johnp@redhat.com>2011-02-28 12:57:00 -0500
commit7f013383063c1d1e5a95cf4c056ff152d4aa2645 (patch)
treedcadfac7366e62cb8e601bcba0b52992f4f26122 /PKG-INFO.in
parent284e775b6caa86ef6465d17c87ec77376e66931c (diff)
downloadpygobject-7f013383063c1d1e5a95cf4c056ff152d4aa2645.tar.gz
[gi] check to see if object is a member of a union when validating paramaters
* union members are not subclasses of the union they belong to so if an inteface requires you pass a union but you pass one of its members there will be a type error * this patch checks to see if the type you are passing is a member of the union and passes the checks if it is * this works in python 3 but in python 2 methods do their own isinstance check on the instance parameter (e.g. self) so we need to figure out how to override that for union methods (e.g. Gdk.Event.get_state) https://bugzilla.gnome.org/show_bug.cgi?id=642554
Diffstat (limited to 'PKG-INFO.in')
0 files changed, 0 insertions, 0 deletions