After the update from dev-python/python-exec:0 to dev-python/python-exec:2 emerge --depclean got rid of =dev-python/python-exec-0.3.1, which left a bunch of broken symlinks in /usr/bin/ pointing to python-exec. To fix that I ran 'equery depends python-exec' and re-emerged all reverse dependencies, which fixed all the dangling pointers except for one, /usr/bin/gnome-tweak-tool. It looks like for some reason =gnome-extra/gnome-tweak-tool-3.8.1 doesn't depend on dev-python/python-exec, where it likely should?
Would like to know python's team opinion about how this issues ended up because, if I don't misremember, multiple solutions were suggested
Err, this is weird? Are you sure that gnome-tweak-tool was rebuilt successfully? AFAICS the ebuild has no reason to use python-exec:0 when :2 is installed.
Rebuilding gnome-tweak-tool *did* fix the issue, what I am saying is that it wasn't immediately obvious that gnome-tweak-tool needed to be rebuilt because it doesn't have an explicit dependency on python-exec, even though it clearly uses python-exec and can break when it's updated. All the other packages installed on my system that were broken with the python-exec:0 -> python-exec:2 upgrade have explicit dependencies on python-exec so they were easy to rebuild using 'equery depends python-exec' to find them.
Oh, now I see what's wrong with that ebuild.
+ 26 Oct 2013; Pacho Ramos <pacho@gentoo.org> + -files/gnome-tweak-tool-3.0.4-gentoo-cursor-themes.patch, + -gnome-tweak-tool-3.6.1-r1.ebuild, -gnome-tweak-tool-3.8.0.ebuild, + gnome-tweak-tool-3.8.1.ebuild: + Fix python dependencies, bug #489230 by Mark R. Pariente and mgorny. Drop old. +