This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tkinter
Recipients GNJ, klappnase, serhiy.storchaka, tkinter
Date 2016-10-23.22:03:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477260222.34.0.849970173508.issue28498@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Serhiy,
I totally disagree of this change on your patch:

+    def tk_busy_status(self):
+        '''Returns the busy status of this window.
+        If the window presently can not receive user interactions,
+        True is returned, otherwise False.'''
+        return((self.tk.getboolean(self.tk.call(
+                'tk', 'busy', 'status', self._w)) and True) or False)

tk_busy_status should return the returned value of self.tk.getboolean directly like other methods in Tkinter using self.tk.getboolean.

There is no test that shows that self.tk.getboolean is buggy.

This is the right implementation:
def tk_busy_status(self):
     '''Returns the busy status of this window.
        If the window presently can not receive user interactions,
        True is returned, otherwise False.'''
    return self.tk.getboolean(self.tk.call('tk', 'busy', 'status', self._w))
History
Date User Action Args
2016-10-23 22:03:42tkintersetrecipients: + tkinter, klappnase, serhiy.storchaka, GNJ
2016-10-23 22:03:42tkintersetmessageid: <1477260222.34.0.849970173508.issue28498@psf.upfronthosting.co.za>
2016-10-23 22:03:42tkinterlinkissue28498 messages
2016-10-23 22:03:42tkintercreate