[Python-bugs-list] [Bug #110629] Tkinter Image names may be reused (PR#28)
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 5 Sep 2000 14:00:28 -0700
Bug #110629, was updated on 2000-Jul-31 14:08
Here is a current snapshot of the bug.
Project: Python
Category: Tkinter
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: Tkinter Image names may be reused (PR#28)
Details: Jitterbug-Id: 28
Submitted-By: guido@python.org
Date: Wed, 14 Jul 1999 14:00:14 -0400 (EDT)
Version: 1.5.2b
OS:
Mark Lutz wrote me:
(BTW, this will probably never surface again (I'm stressing
the image object a bit), but I think there's a problem
with using the id() of an image as its name. I ran into
a situation where an image was drawn in the wrong place,
because a newly allocated image object had the same id()
as one very recently reclaimed. It's very obscure, will
only happen if you have > 1 canvas in a process and happen
to be creating and deleting images very quickly, and is
too complex for me to describe further at the moment ;-).
I worked around it by first generating image names from a
simple counter, and then prebuilding all images up front.)
====================================================================
Audit trail:
Wed Jul 14 14:00:28 1999 guido moved from incoming to open
Follow-Ups:
Date: 2000-Sep-05 14:00
By: loewis
Comment:
Fixed in patch 101424, http://sourceforge.net/patch/?func=detailpatch&patch_id=101424&group_id=5470
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=110629&group_id=5470