Message279287
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)) |
|
Date |
User |
Action |
Args |
2016-10-23 22:03:42 | tkinter | set | recipients:
+ tkinter, klappnase, serhiy.storchaka, GNJ |
2016-10-23 22:03:42 | tkinter | set | messageid: <1477260222.34.0.849970173508.issue28498@psf.upfronthosting.co.za> |
2016-10-23 22:03:42 | tkinter | link | issue28498 messages |
2016-10-23 22:03:42 | tkinter | create | |
|