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 serhiy.storchaka
Recipients cheryl.sabella, serhiy.storchaka, terry.reedy
Date 2018-02-15.10:22:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518690173.1.0.467229070634.issue32839@psf.upfronthosting.co.za>
In-reply-to
Content
> Since events are removed from Tcl once that are invoked, how would the dictionary be cleaned up?  Would after_info need to be polled every once in a while to clean up the dictionary or would it just exist until the object is destroyed?

Good question. Currently the reference to a callable is kept in the dict  until the object is destroyed. This can be considered as a bug (see issue1524639).
History
Date User Action Args
2018-02-15 10:22:53serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, cheryl.sabella
2018-02-15 10:22:53serhiy.storchakasetmessageid: <1518690173.1.0.467229070634.issue32839@psf.upfronthosting.co.za>
2018-02-15 10:22:53serhiy.storchakalinkissue32839 messages
2018-02-15 10:22:53serhiy.storchakacreate