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 gregorlingl
Date 2008-09-23.00:16:11
SpamBayes Score 9.353542e-09
Marked as misclassified No
Message-id <1222128977.85.0.461974495418.issue3940@psf.upfronthosting.co.za>
In-reply-to
Content
Thorough testing revealesd the following bugs in turtle.py (Python 2.6):

1) Around lines 359 and 379: There's a name conflict with a methodname
of the parentclass Frame: _root. The bugfix consists in renaming this
attribute, which occurs only twice

2) Around line 732: Turtles with image-shapes do not recognize user
coordinates. This is fixed in  TurtleScreenBase method _drawimage by
introducing the corresponding scaling factors

3) Around line 3570: Calling the __init__ - Method of the Screen-class
(which uses the Borg idiom) destroys graphics and Turtles on the Screen.
This is an undesired behaviour. The fix brings the behaviour of Screen
in accordance with the Python 3.0 version.

4) Around line 3612: Screen.setup() needs a final update() call in order
to ensure, that immediately following calls of window_width() or
window_height() return correct values.

Moreover there is a correction of the version number and date

Bugfixes are attached in turtle.py.diff

Regards,
Gregor
History
Date User Action Args
2008-09-23 00:16:18gregorlinglsetrecipients: + gregorlingl
2008-09-23 00:16:17gregorlinglsetmessageid: <1222128977.85.0.461974495418.issue3940@psf.upfronthosting.co.za>
2008-09-23 00:16:14gregorlingllinkissue3940 messages
2008-09-23 00:16:13gregorlinglcreate