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.

classification
Title: Fix of "disgusting hack" in Misc.after
Type: Stage:
Components: Tkinter Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: loewis Nosy List: georg.brandl, loewis, tzot
Priority: normal Keywords: patch

Created on 2006-03-31 16:38 by tzot, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Tkinter.diff tzot, 2006-03-31 16:38 Fix of "disgusting hack"
Messages (2)
msg49898 - (view) Author: Χρήστος Γεωργίου (Christos Georgiou) (tzot) * Date: 2006-03-31 16:38
Misc.after had a "disgusting hack" probably dating
before closures in order to clean up functions after
having been called by 'after'.

This patch changes the functionality from using a list
as a default argument to using a plain closure.

I came upon it while fixing the Tix.Grid class, trying
to understand the Tkinter code.
msg49899 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-04-02 21:10
Logged In: YES 
user_id=849994

Thanks, applied in rev. 43555.
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43125
2006-03-31 16:38:53tzotcreate