This isn't a really happy combination, but it does work for the most of the time. However, I just bumped into a problem with Gio.File. This will always result in TypeError and Python segfaulting:
Python 2.7.3 (default, Apr 10 2012, 12:29:04) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gi.repository import GObject, Gio >>> import gst >>> la = Gio.File.new_for_path("/home/dklasinc/foo") TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases ERROR:/build/buildd/pygobject-3.2.0/gi/_gobject/pygobject.c:929:pygobject_new_full: assertion failed: (tp != NULL)
Is there a way around this? I'd like to use Gio for file copy operations so that I can provide users with some feedback.