python-pygtk-2.16.0 causes python-2.7 to segfault if warning settings are changed from default to "error".
Because PyGTK-2.10+ throws only warnings applications which use PyGTK change warning settings to catch an exception while importing gtk module and X display is not available.
python-pygtk-2.16.0 causes python-2.7 to segfault if warning settings are changed from default to "error".
Because PyGTK-2.10+ throws only warnings applications which use PyGTK change warning settings to catch an exception while importing gtk module and X display is not available.
[kiesiu@beth ~]$ python -c "import warnings; warnings. filterwarnings( 'error' , module='gtk'); import gtk" dictobject. c:759: PyDict_SetItem: Assertion `value' failed.
python: Objects/
Aborted
[kiesiu@beth ~]$ rpm -q python-pygtk-gtk pygtk-gtk- 2.16.0- 2.i686
python-
It's a known bug for upstream (https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 623965) and downstream (https:/ /bugzilla. redhat. com/show_ bug.cgi? id=621887).