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 dragon
Recipients dragon
Date 2009-12-01.17:52:11
SpamBayes Score 8.0592355e-07
Marked as misclassified No
Message-id <1259689934.3.0.386654946546.issue7420@psf.upfronthosting.co.za>
In-reply-to
Content
Problem:
Using the following code gives different behaviour on versions 2.6.4 and
3.0.1: nothing will be drawn under 3.0.1, but turtle.update() will force
the line to be drawn under 2.6.4. 2.6.4's behaviour is compatible with
the documentation: "turtle.update() - Perform a TurtleScreen update. To
be used when tracer is turned off."

import turtle
from time import sleep
turtle.tracer(100,0) # update screen after 100 drawings
turtle.fd(100)
turtle.update() # force update
sleep(100) # so you can see what's on the screen.

workaround:
use turtle.tracer(1) after drawing instead of turtle.update()
History
Date User Action Args
2009-12-01 17:52:14dragonsetrecipients: + dragon
2009-12-01 17:52:14dragonsetmessageid: <1259689934.3.0.386654946546.issue7420@psf.upfronthosting.co.za>
2009-12-01 17:52:12dragonlinkissue7420 messages
2009-12-01 17:52:11dragoncreate