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 loewis
Recipients benjamin.peterson, georg.brandl, gregorlingl, loewis
Date 2008-09-24.19:07:30
SpamBayes Score 9.175126e-06
Marked as misclassified No
Message-id <1222283252.06.0.324199260305.issue3956@psf.upfronthosting.co.za>
In-reply-to
Content
As a follow-up, I also don't understand the two if blocks in
Screen.__init__: if there is meant to be a single Screen instance
anyway, why have _root, _canvas, and _title as class variables, whereas
everything else is in (shared) instance variables?

How could _root be initialized, and _canvas not (or vice versa)?

And why is Turtle._screen being set to the last Screen instance being
created (even under this patch), whereas all other initialization is
keyed to the creation of the first Screen instance?

This code could surely use some comments.
History
Date User Action Args
2008-09-24 19:07:32loewissetrecipients: + loewis, georg.brandl, gregorlingl, benjamin.peterson
2008-09-24 19:07:32loewissetmessageid: <1222283252.06.0.324199260305.issue3956@psf.upfronthosting.co.za>
2008-09-24 19:07:31loewislinkissue3956 messages
2008-09-24 19:07:30loewiscreate