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 jbrouwers
Recipients
Date 2003-09-07.22:48:01
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=832557

No, I do not know of any platforms where the current Sleep()
implementation in Tkinter would not work.  That aside, I
believe that there are still two issues with using Sleep().

From previous experience with Tcl/Tk (non-Python), I do know
that events tend to pile up in single-threaded, event driven
applications which use Tcl timer events.  In such
applications calls like Sleep() or Tcl_Sleep() should be
avoided entirely.  Using Tcl/Tk timer events is a far better
approach in this case, for reasons mentioned earlier.

I'm not familiar enough with Tkinter, multi-threading and
the impact of Sleep() in Python.  However, instead of using
Sleep(), what about yield() or some similar threading
function?  And compile that call only in the threaded Python
build?
History
Date User Action Args
2008-01-20 09:59:26adminlinkissue780602 messages
2008-01-20 09:59:26admincreate