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 gpolo
Recipients gpolo, loewis, pysquared
Date 2008-12-17.15:34:49
SpamBayes Score 3.1813972e-05
Marked as misclassified No
Message-id <1229528090.78.0.771585904932.issue1524639@psf.upfronthosting.co.za>
In-reply-to
Content
The changes in Misc.destroy do not look right, why are you deleting
commands created by bind_all (for example) from the root window when a
simple widget is destroyed ? 

It would make more sense to not apply these changes in Misc.destroy,
instead, Misc.unbind_all would remove commands from the root using
Misc._root.deletecommand and inside Misc._bind it would check if
needcleanup is true or false and decide from where to remove. Also,
given how this needcleanup parameter is used, I suggest renaming it to
widgetcmd, so if it is set 0 it indicates that the command should live
in self._root()._tclCommands.
History
Date User Action Args
2008-12-17 15:34:51gpolosetrecipients: + gpolo, loewis, pysquared
2008-12-17 15:34:50gpolosetmessageid: <1229528090.78.0.771585904932.issue1524639@psf.upfronthosting.co.za>
2008-12-17 15:34:50gpololinkissue1524639 messages
2008-12-17 15:34:49gpolocreate