[issue4117] missing update() in _Screen.setup() of Lib/turtle.py
Guilherme Polo
report at bugs.python.org
Wed Nov 19 01:05:06 CET 2008
Guilherme Polo <ggpolo at gmail.com> added the comment:
Why are you using update instead of update_idletasks ?
I'm not talking exactly about this line being added, but this ends up
calling TurtleScreenBase._update which calls self.cv.update(), cv being
a canvas. update_idletasks should be used exactly for performing the
kind of tasks expected here, display update and window layout
calculations, while calling update may also process other events or
pending errors.
----------
nosy: +gpolo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4117>
_______________________________________
More information about the Python-bugs-list
mailing list