Issue 1462235: Fix of "disgusting hack" in Misc.after (original) (raw)

Issue1462235

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:16 admin set github: 43125
2006-03-31 16:38:53 tzot create