Please backport http://hg.python.org/cpython/rev/84f40562669f which fixes problems with the first fix for http://bugs.python.org/issue19008 like Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/sparky/python/sparky/__init__.py", line 51, in start_session tk = tkutil.initialize_tk(argv) File "/usr/lib64/sparky/python/sparky/tkutil.py", line 924, in initialize_tk tk = Tkinter.Tk(display, program_name, program_class) File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1748, in __init__ if not sys.flags.ignore_environment: UnboundLocalError: local variable 'sys' referenced before assignment
Probably the code needs to be correctly like this: self.tk = None import sys if baseName is None: import os
Working on it.
+*python-2.7.5-r3 (16 Oct 2013) +*python-3.2.5-r3 (16 Oct 2013) + + 16 Oct 2013; Mike Gilbert <floppym@gentoo.org> + +files/python-2.7-issue16248.patch, +files/python-3.2-issue16248.patch, + +python-2.7.5-r3.ebuild, +python-3.2.5-r3.ebuild, -python-2.7.5-r2.ebuild, + -python-3.2.5-r2.ebuild: + Apply upstream fix for regression in Tkinter, bug 488208 by jlec. +