--- __init__.py.orig 2008-09-04 17:11:30.000000000 +0400 +++ __init__.py 2008-09-12 19:52:29.000000000 +0400 @@ -2655,7 +2655,7 @@ (num_index1, num_index2) = (self.index(index1), self.index(index2)) if (num_index1 is not None) and (num_index2 is not None): for i in range(num_index1, num_index2 + 1): - if 'command' in self.entryconfig(i): + if self.entrycget(i, 'command'): c = str(self.entrycget(i, 'command')) if c in self._tclCommands: cmds.append(c)