[issue11096] Multiple turtle tracers

2013-11-04 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
resolution:  -> out of date
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11096] Multiple turtle tracers

2011-02-04 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

2.6 is only open for security fixes.

In 3.x "The methods Turtle.tracer(), Turtle.window_width() and 
Turtle.window_height() have been eliminated. Methods with these names and 
functionality are now available only as methods of Screen."

So it seems that perhaps the fix was to make what you did impossible ;-). 
Hence, I am inclined to close this as 'out-of-date'. The deletion was not done 
in 2.7 for back-compatibility reasons.

Replacing "t.tracer(10)" with "\nScreen().tracer(10)", the rosette is drawn 
in under a second (on my several-year-old machine). I cannot see any difference.

--
nosy: +gregorlingl, terry.reedy
versions:  -Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11096] Multiple turtle tracers

2011-02-02 Thread Alex McNerney

Alex McNerney  added the comment:

To be more clear, in the sample code, the drawing animation of the red 
star-spiral is smooth, whereas the drawing animation of the black star-spiral 
is spasmodic.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11096] Multiple turtle tracers

2011-02-01 Thread Alex McNerney

New submission from Alex McNerney :

In Python 2.7 and 2.6 (only ones I have tried), there is a bug in the turtle 
module's tracer() function, when applying it to multiple turtles using the same 
value.

When two turtles are defined (to draw simultaneously), and both turtles' 
tracers are set to the same number, one of the turtles does not end up 
following its tracer value. (It's a little hard to explain...look at/try the 
sample code)

The following script will recreate this glitch:
"
from turtle import *

t1 = Turtle()
t2 = Turtle()

for t in turtles():
t.ht()
t.speed(0)
t.tracer(10)

t1.color("black")
t2.color("red")

for x in range(500):
t1.forward(x)
t2.forward(x)
t1.left(144.5)
t2.right(144.5)
"

--
messages: 127718
nosy: amcnerney13
priority: normal
severity: normal
status: open
title: Multiple turtle tracers
type: behavior
versions: Python 2.6, Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com