Message279171
Oops, just made a quick test with Python3, and found that I had missed that types.StringType is no longer present. So to be compatible with Python3 the busy_configure() func ought to look like:
def busy_configure(self, cnf=None, **kw):
if kw:
cnf = _cnfmerge((cnf, kw))
elif cnf:
cnf = _cnfmerge(cnf)
if cnf is None:
return(self._getconfigure(
'tk', 'busy', 'configure', self._w))
if isinstance(cnf, str):
return(self._getconfigure1(
'tk', 'busy', 'configure', self._w, '-'+cnf))
self.tk.call((
'tk', 'busy', 'configure', self._w) + self._options(cnf)) |
|
Date |
User |
Action |
Args |
2016-10-21 23:40:30 | klappnase | set | recipients:
+ klappnase, serhiy.storchaka, tkinter |
2016-10-21 23:40:30 | klappnase | set | messageid: <1477093230.56.0.625587275765.issue28498@psf.upfronthosting.co.za> |
2016-10-21 23:40:30 | klappnase | link | issue28498 messages |
2016-10-21 23:40:30 | klappnase | create | |
|