Cheryl Sabella <chek...@gmail.com> added the comment: I was working on the tests for issue32831. One of the methods was `__del__` which made sure timer events were canceled with `after_cancel`. In the test, to assert that the after events no longer existed after calling `__del__` and after reading the Tcl documentation for `after`, I tried to call `after_info` but it didn't exist. So I added a call to `self.tk.call('after', 'info', id)` directly to assert that the after events no longer existed.
I don't know if there is a general need to know whether timer or idle events exist, but this command gives that information. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32839> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com