Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: > 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). ---------- _______________________________________ 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