[New-bugs-announce] [issue47056] turtle.write() causes flickering when the tracer is turned off.

Shin-Myoung-Serp report at bugs.python.org
Fri Mar 18 05:27:33 EDT 2022


New submission from Shin-Myoung-Serp <relent95 at naver.com>:

When implementing an animation with turtle, usually the tracer is turned off via turtle.tracer(0, 0) and turtle.update() is called manually.

When the tracer is off, most of drawing functions skips update() calls on the underlying Canvas. But turtle.write() does not do that.
(See the implementation of TurtleScreenBase._write().)

This causes flickering, as can be seen when you run the attached script. (Press space key to hide/show texts.)

----------
components: Library (Lib)
files: test_anim_write.py
messages: 415475
nosy: relent95
priority: normal
severity: normal
status: open
title: turtle.write() causes flickering when the tracer is turned off.
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file50690/test_anim_write.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47056>
_______________________________________


More information about the New-bugs-announce mailing list