[Python-bugs-list] [Bug #110629] Tkinter Image names may be reused (PR#28)

noreply@sourceforge.net noreply@sourceforge.net
Fri, 8 Sep 2000 09:31:36 -0700


Bug #110629, was updated on 2000-Jul-31 14:08
Here is a current snapshot of the bug.

Project: Python
Category: Tkinter
Status: Closed
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
-------------------------------------------------------

Date: 2000-Sep-06 21:08
By: fdrake

Comment:
Should be fixed by Martin's patch (#101424).  I've accepted the patch and assigned it and this bug to Martin for checkin and closure.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=110629&group_id=5470