[Python-checkins] r47208 - in python/trunk: Lib/lib-tk/turtle.py Misc/NEWS

martin.v.loewis python-checkins at python.org
Mon Jul 3 11:44:01 CEST 2006


Author: martin.v.loewis
Date: Mon Jul  3 11:44:00 2006
New Revision: 47208

Modified:
   python/trunk/Lib/lib-tk/turtle.py
   python/trunk/Misc/NEWS
Log:
Only setup canvas when it is first created.
Fixes #1514703


Modified: python/trunk/Lib/lib-tk/turtle.py
==============================================================================
--- python/trunk/Lib/lib-tk/turtle.py	(original)
+++ python/trunk/Lib/lib-tk/turtle.py	Mon Jul  3 11:44:00 2006
@@ -679,7 +679,7 @@
             _canvas = Tkinter.Canvas(_root, background="white")
             _canvas.pack(expand=1, fill="both")
 
-        setup(width=_width, height= _height, startx=_startx, starty=_starty)
+            setup(width=_width, height= _height, startx=_startx, starty=_starty)
 
         RawPen.__init__(self, _canvas)
 

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Mon Jul  3 11:44:00 2006
@@ -19,6 +19,9 @@
 Library
 -------
 
+- Bug #1514703: Only setup canvas window in turtle when the canvas
+  is created.
+
 - Bug #1513223: .close() of a _socketobj now releases the underlying
   socket again, which then gets closed as it becomes unreferenced.
 


More information about the Python-checkins mailing list