It seems that Pydev (1.5.4) on Eclipse (3.5.1) with Python 2.6 isn’t able to correctly cross-reference the package gobject. Putting import gobject works OK but any more than that (e.g. class X(gobject.GObject) causes Pydev to report “unresolved reference” errors.
What could be the problem?
Note that every other package I use doesn’t trigger this error.
The issue is related to this limitation of PyDev:
To adjust for this limitation, find the absolute path to the library and update the libraries associated with the interpreter for Pydev.