Kaydet (Commit) bd39c03c authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Only setup canvas when it is first created.

Fixes #1514703
üst 16a39327
......@@ -679,7 +679,7 @@ class Pen(RawPen):
_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)
......
......@@ -19,6 +19,9 @@ Core and builtins
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment