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 belopolsky, docs@python, eric.araujo, georg.brandl, gregorlingl, terry.reedy
Date 2010-11-05.15:26:39
SpamBayes Score 1.1736749e-05
Marked as misclassified No
Message-id <1288970805.51.0.00394839332218.issue7061@psf.upfronthosting.co.za>
In-reply-to
Content
What do you mean with "similar approach"?

Keep in mind, that functions derived form turtle methods,
call methods for the class variable _pen of class Turtle.
A new Turtle-object is bound to _pen, if it is not already
present, whenever one of these functions is called, via _getpen()

So perhaps _getpen() can do for you what you need?

(A similar approach is used for screen-oriented functions with turtle._screen.)

I'm very sorry that, due to time restrictions, for the next two or three months I'm not able to participate in these discussions as intensely as I'd like to.

Best regards,
Gregor
History
Date User Action Args
2010-11-05 15:26:45gregorlinglsetrecipients: + gregorlingl, georg.brandl, terry.reedy, belopolsky, eric.araujo, docs@python
2010-11-05 15:26:45gregorlinglsetmessageid: <1288970805.51.0.00394839332218.issue7061@psf.upfronthosting.co.za>
2010-11-05 15:26:39gregorlingllinkissue7061 messages
2010-11-05 15:26:39gregorlinglcreate