<dev-python/pygtk-2.10.3 seems to not be compatible with python2.5, and 64-bit safe with python2.5, as indicated by NEWS entry in the fresh pygtk-2.10.3 version: pygtk-2.10.3 3-october-2006 - Fix a crasher bug introduced in 2.10.2 (Gustavo) - Make PyGTK work with Python 2.5 and 64-bit (#337368, Gustavo) (when used in conjunction with the soon-to-be-released PyGObject 2.12.2) That should indicate that it doesn't work properly in earlier versions. A simple version bump, followed by unmasking and stabilization should fix this. This is mainly to have a bug blocking the python2.5 one.
I have added pygtk-2.10.3 to the tree. Testing for python2.5 compatibility together with >=pygobject-2.12.2 would be appreciated (I haven't gone 2.5 yet)
from the announcement list Overview of Changes from gnome-python 2.16.0 to gnome-python 2.16.1 ==================================================================== * gnomevfs - Correctly detect the python library on Mac OS X (#363374) * gconf - Fix crash when using gconf.Client() (#365565) * general - Make unit tests use the modules from builddir - Make all code Python 2.5 + 64-bit ready (#338490)
As pygtk-2.10.3 is in the tree by now, which should be python2.5 compatible, I'm closing this bug - python team will go over the (closed) deps of bug 148333 to see if compatible pygtk is stabilized once they are that far with python2.5