[issue32839] Add after_info as a function to tkinter
Serhiy Storchaka
report at bugs.python.org
Thu Feb 15 05:22:53 EST 2018
Serhiy Storchaka <storchaka+cpython at 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 <report at bugs.python.org>
<https://bugs.python.org/issue32839>
_______________________________________
More information about the Python-bugs-list
mailing list