changeset: 104679:f57078cf5f13 branch: 2.7 parent: 104670:1a7452e0d852 user: Serhiy Storchaka date: Mon Oct 24 23:47:08 2016 +0300 files: Lib/lib-tk/Tix.py Misc/NEWS description: Issue #25464: Fixed HList.header_exists() in Tix module by adding a workaround to Tix library bug. diff -r 1a7452e0d852 -r f57078cf5f13 Lib/lib-tk/Tix.py --- a/Lib/lib-tk/Tix.py Sun Oct 23 22:54:43 2016 +0300 +++ b/Lib/lib-tk/Tix.py Mon Oct 24 23:47:08 2016 +0300 @@ -928,7 +928,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 1a7452e0d852 -r f57078cf5f13 Misc/NEWS --- a/Misc/NEWS Sun Oct 23 22:54:43 2016 +0300 +++ b/Misc/NEWS Mon Oct 24 23:47:08 2016 +0300 @@ -60,6 +60,9 @@ Library ------- +- Issue #25464: Fixed HList.header_exists() in Tix module by adding + a workaround to Tix library bug. + - Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive. - Issue #28480: Fix error building _sqlite3 module when multithreading is