[New-bugs-announce] [issue31725] Turtle/tkinter: NameError crashes ipython with "Tcl_AsyncDelete: async handler deleted by the wrong thread"

Rick J. Pelleg report at bugs.python.org
Sun Oct 8 03:16:44 EDT 2017


New submission from Rick J. Pelleg <rickjpelleg at gmail.com>:

On Windows 10 Education, ran:
ipython
Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 17:26:49) [MSC v.1900 32 bit (Intel)]
Type 'copyright', 'credits' or 'license' for more information
IPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help.
----
After "from turtle import *" and several simple turtle commands:

In [36]: fill()
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-36-4268fc8160e4> in <module>()
----> 1 fill()

NameError: name 'fill' is not defined

Tcl_AsyncDelete: async handler deleted by the wrong thread
Exception ignored in: <bound method Image.__del__ of <tkinter.PhotoImage object at 0x0465AEB0>>
Traceback (most recent call last):
  File "d:\users\yuval\appdata\local\programs\python\python36-32\lib\tkinter\__init__.py", line 3501, in __del__
    self.tk.call('image', 'delete', self.name)

----------
components: Tkinter
messages: 303898
nosy: Rick J. Pelleg
priority: normal
severity: normal
status: open
title: Turtle/tkinter: NameError crashes ipython with "Tcl_AsyncDelete: async handler deleted by the wrong thread"
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31725>
_______________________________________


More information about the New-bugs-announce mailing list