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 cheryl.sabella
Recipients cheryl.sabella, serhiy.storchaka
Date 2018-02-13.15:24:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518535456.32.0.467229070634.issue32839@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-02-13 15:24:16cheryl.sabellasetrecipients: + cheryl.sabella, serhiy.storchaka
2018-02-13 15:24:16cheryl.sabellasetmessageid: <1518535456.32.0.467229070634.issue32839@psf.upfronthosting.co.za>
2018-02-13 15:24:16cheryl.sabellalinkissue32839 messages
2018-02-13 15:24:16cheryl.sabellacreate