Bugs item #812986, was opened at 2003-09-26 12:33
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=812986&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Gregor Lingl (glingl)
Assigned to: Martin v. Löwis (loewis)
Summary: turtle.py deferres exec of stmnts with tracer(0)

Initial Comment:
interactive use of turtle.py becomes impossible,
e.g.when issuing tracer(0) because in this
case apparently updating of Canvas-Widget is
deferred ...
... until the next tracer(1)
(one can observe this when running the demo() )

Inserting a _canvas.update() call in _draw_turtle()
for the case that tracing is off seems to work:

    def _draw_turtle(self,position=[]):
        if not self._tracing:
            self._canvas.update()  # <== insert this line!
            return
        if position == []:  # etc.etc.


I have attached a corrected version as turtle_.py

Gregor Lingl 


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-06-17 20:44

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as r47007.

----------------------------------------------------------------------

Comment By: Gregor Lingl (glingl)
Date: 2003-09-29 00:08

Message:
Logged In: YES 
user_id=505031

OH! Here is the file mentioned above

----------------------------------------------------------------------

Comment By: Jeff Epler (jepler)
Date: 2003-09-28 16:52

Message:
Logged In: YES 
user_id=2772

You did not attach a file.  You must select a filename *and* turn on the 
checkbox to do so.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=812986&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to