Guilherme Polo <ggp...@gmail.com> added the comment: Here is a better patch, for some definition of better.
It syncs the failed attempt to load tk that may occur in _tkinter.Tkapp_TkInit, _tkinter.Tcl_AppInit and tkappinit.Tcl_AppInit. And that is done only for tk < 8.4.14 now. Said that, I'm a bit worried about the (new macro) TK_VERSION_HEX in _tkinter and tkappinit, maybe it is time to add a _tkinter.h ? Added file: http://bugs.python.org/file12958/checking_for_failed_tk_load.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5122> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com