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 gregorlingl
Recipients gpolo, gregorlingl, loewis
Date 2008-11-20.19:57:52
SpamBayes Score 4.415801e-12
Marked as misclassified No
Message-id <1227211076.08.0.246029847053.issue4117@psf.upfronthosting.co.za>
In-reply-to
Content
The attached file setup_bug_demo.py shows the bug of this issue. It's
taken out of a working game application and radically abridged to
concentrate on this issue.

Now the patch to fix the bug has to be changed a bit (because of the
changes of Martin's Singleton fix). A diff file follows immediately
(setup_patch.diff).

I tried out (in a simple straight forward way and in contradiction with
my ideas mentioned in a previous posting) 

(1) to replace the update() call by _Screen._canvas.update_idletasks() and
(2) to do a similar replacement in TurtleScreenBase._update()

Neither of these work. The second change even affects seriously the
working of the modules demo().

I'd like to mention that in the former turtle module upto 2.5 (remember:
the compatibility to it was a requirement for the new one) there are
also several Canvas.update() calls but no Canvas.update_idletasks() call.

I never noticed negative consequences of this and as far as I know,
neither concerning the old module nor the new one there were ever
complaints concerning bad ("sluggish") performance due to this (or any
other) fact.
History
Date User Action Args
2008-11-20 19:57:56gregorlinglsetrecipients: + gregorlingl, loewis, gpolo
2008-11-20 19:57:56gregorlinglsetmessageid: <1227211076.08.0.246029847053.issue4117@psf.upfronthosting.co.za>
2008-11-20 19:57:55gregorlingllinkissue4117 messages
2008-11-20 19:57:53gregorlinglcreate