[issue3062] Turtle speed() function has no effect under Mac OS X

Alexander Belopolsky report at bugs.python.org
Tue Oct 19 17:41:42 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

I am attaching a simpler and hopefully more revealing test, speed_test.py.  This test repeatedly draws a full circle at various speeds and prints the time spent.  Here is the result:

# python3.1 speed_test.py
         0: 0.03
         1: 6.61
         2: 4.32
         3: 3.78
         4: 3.23
         5: 3.21
         6: 2.65
         7: 2.72
         8: 2.66
         9: 2.86
        10: 2.67

Note that time decreases as speed changes from 1 to 4 as expected, but then changes unpredictably as speed changes from 5 to 10.

----------
nosy: +belopolsky
Added file: http://bugs.python.org/file19282/speed_test.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3062>
_______________________________________


More information about the Python-bugs-list mailing list