Terry J. Reedy added the comment: After editing 2.7 files to match Zach's patch, and also after adding the changes in my patch, and also deleting tcltk directory and rerunning external.bat to rebuild tcltk/ for 2.7 with tcl/tk 8.5.2, the tests still do not all work right.
-------------- F:\Python\dev\py27\PCbuild> python_d -m test.regrtest -ugui test___all__ test_tcl test_tk test_ttk_guionly test_ttk_text only test___all__ Warning -- os.environ was modified by test___all__ test_tcl test test_tcl failed -- multiple errors occurred; run in verbose mode for details test_tk test_tk skipped -- tk not available: Can't find a usable init.tcl in the following directories: F:/Python/dev/py27/lib/tcl8.5 F:/Python/dev/py27/lib/tcl8.5 F:/Python/dev/lib/tcl8.5 F:/Python/dev/py27/library F:/P ython/dev/library F:/Python/dev/tcl8.5.2/library F:/Python/tcl8.5.2/library This probably means that Tcl wasn't installed properly. ------ If test_tcl is run first, it works, test_ttk_guionly gives the same message as test_tk, test_ttk_testonly is OK. So the attached patch, 10652_tkfix_27.diff is an improvement, but not a complete fix. I am going to concentrate on 3.x (which means manually delete tcltk and re-compile) and apply if all goes well. ---------- Added file: http://bugs.python.org/file29423/10652_tkfix_27.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10652> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com