From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Pitt Date: Sat, 05 May 2012 21:42:02 +0000 Subject: Re: Inconsistences using GUdev.Client Message-Id: <20120505214202.GH2431@piware.de> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org David Zeuthen [2012-04-12 11:32 -0400]: > I think the python bindings are just buggy - probably they don't > support GStrv GObject properties very well. Is that still the case? I just tried this with current PyGObject 3.2.0, and it seems to work: $ python >>> from gi.repository import GUdev >>> c = GUdev.Client.new(subsystems=['usb']) >>> c.props.subsystems ['usb'] >>> I also tested with "GUdev.Client(subsystems=['usb'])", i. e. using the GObject constructor instead of gudev_client_new(), and it works just as well. I am just committing test cases for handling GStrv properties to g-i and pygobject, and indeed a few cases don't work yet (such as defining GStrv properties in Python, and _setting_ GStrv properties). I'm working my way through fixing those. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)