pygobject.py ported