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 thaar
Recipients
Date 2004-07-22.13:48:54
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The methods afer() and after_idle() register the
callback function in the list self._tclCommands. This
List is member of the Misc class in the file tkinter.py
and is not protected by a lock. 
So it could be that the thread  access the list by
calling the function after() and to the same time the
tkinter mainloop access the list  by the methode
deletecommand() in the callback function.  The same
problem will occur if the function after() is called by
two theads.

solution: 
Create a lock object and save the list 
self._tclCommands in the methods :

misc.destroy()
misc.deletecommand()
misc._register()
History
Date User Action Args
2007-08-23 14:24:06adminlinkissue995925 messages
2007-08-23 14:24:06admincreate