changeset: 104680:e928afbcc18a branch: 3.5 parent: 104671:bb9cea3c3e2c user: Serhiy Storchaka date: Mon Oct 24 23:47:28 2016 +0300 files: Lib/tkinter/tix.py Misc/NEWS description: Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin a workaround to Tix library bug. diff -r bb9cea3c3e2c -r e928afbcc18a Lib/tkinter/tix.py --- a/Lib/tkinter/tix.py Sun Oct 23 22:56:14 2016 +0300 +++ b/Lib/tkinter/tix.py Mon Oct 24 23:47:28 2016 +0300 @@ -929,7 +929,11 @@ return self.tk.call(self._w, 'header', 'cget', col, opt) def header_exists(self, col): - return self.tk.call(self._w, 'header', 'exists', col) + # A workaround to Tix library bug (issue #25464). + # The documented command is "exists", but only erroneous "exist" is + # accepted. + return self.tk.getboolean(self.tk.call(self._w, 'header', 'exist', col)) + header_exist = header_exists def header_delete(self, col): self.tk.call(self._w, 'header', 'delete', col) diff -r bb9cea3c3e2c -r e928afbcc18a Misc/NEWS --- a/Misc/NEWS Sun Oct 23 22:56:14 2016 +0300 +++ b/Misc/NEWS Mon Oct 24 23:47:28 2016 +0300 @@ -110,6 +110,9 @@ Library ------- +- Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin + a workaround to Tix library bug. + - Issue #28488: shutil.make_archive() no longer add entry "./" to ZIP archive. - Issue #24452: Make webbrowser support Chrome on Mac OS X.