Comment 5 for bug 729933

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Ah, I didn't realize this at the time, but this bug is actually invalid as PyGI isn't meant to play nice with static bindings like PyGTK. It was pretty much by accident when it worked before.

The pygobject version in Oneiric doesn't let you dangerously mix them anymore:

>>> import gtk
>>> from gi.repository import WebKit
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 23, in <module>
    from ._gi import _API, Repository
ImportError: could not import gobject (error was: ImportError('When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".',))