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 lpd
Recipients
Date 2002-11-12.21:58:26
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=8861

I disagree strongly with the resolution, for two reasons.

1) No other commonly used entity in the Tkinter API has this
counter-intuitive behavior. Widgets do not disappear from
the screen if Python holds no references to them. Text
strings do not disappear from the screen if Python holds no
references to the string object or the font object. (I don't
know how this is accomplished.)

2) Python does not, and cannot, guarantee that an object
will be finalized and freed immediately when there are no
longer any references to it: if the object must be reclaimed
by garbage collection, an unpredictable amount of time may
elapse. Therefore, in my opinion, it is very undesirable to
use object finalization in a way that directly affects the
user interface.

Please consider changing Tkinter so that it handles Image
objects the same way that it apparently handles widgets,
fonts, strings, etc.
History
Date User Action Args
2007-08-23 14:07:45adminlinkissue632323 messages
2007-08-23 14:07:45admincreate