Issue 31725: Turtle/tkinter: NameError crashes ipython with "Tcl_AsyncDelete: async handler deleted by the wrong thread" (original) (raw)

Created on 2017-10-08 07:16 by Rick J. Pelleg, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (7)
msg303898 - (view) Author: Rick J. Pelleg (Rick J. Pelleg) Date: 2017-10-08 07:16
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) in () ----> 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)
msg303906 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-10-08 09:57
Can you reproduce the issue without IPython?
msg303910 - (view) Author: Rick J. Pelleg (Rick J. Pelleg) Date: 2017-10-08 15:24
Mmm... right now I cannot reproduce at all, both in iPython and in python. Will continue to try.
msg304395 - (view) Author: Rick J. Pelleg (Rick J. Pelleg) Date: 2017-10-14 16:29
Sorry, all reproduction attempts failed, both in plain Python and in iPython. I guess you can close this for now.
msg304397 - (view) Author: Rick J. Pelleg (Rick J. Pelleg) Date: 2017-10-14 18:18
Just one more issue: since it happened before I found out that the "turtle" package already has the pre-defined short version of commands, such as "fd()", "lt()", etc., the crashed session included four function definitions, for "fd()", "bk()", "lt()" and "rt()", in the form of: def fd(val): forward(val)
msg319756 - (view) Author: Carol Willing (willingc) * (Python committer) Date: 2018-06-16 15:53
Hi Rick, I'm closing this issue as not reproducible. Thanks for filing it and using Turtle.
msg319772 - (view) Author: Rick J. Pelleg (Rick J. Pelleg) Date: 2018-06-16 18:24
Thanks! On Sat, Jun 16, 2018, 18:53 Carol Willing <report@bugs.python.org> wrote: > > Carol Willing <willingc@gmail.com> added the comment: > > Hi Rick, > > I'm closing this issue as not reproducible. Thanks for filing it and using > Turtle. > > ---------- > nosy: +willingc > resolution: -> not a bug > stage: -> resolved > status: open -> closed > > _______________________________________ > Python tracker <report@bugs.python.org> > <https://bugs.python.org/issue31725> > _______________________________________ >
History
Date User Action Args
2022-04-11 14:58:53 admin set github: 75906
2018-06-16 18:24:39 Rick J. Pelleg set messages: +
2018-06-16 15:53:08 willingc set status: open -> closednosy: + willingcmessages: + resolution: not a bugstage: resolved
2017-10-14 18🔞49 Rick J. Pelleg set messages: +
2017-10-14 16:29:36 Rick J. Pelleg set messages: +
2017-10-08 15:24:34 Rick J. Pelleg set messages: +
2017-10-08 09:57:05 serhiy.storchaka set nosy: + serhiy.storchakamessages: +
2017-10-08 07:16:44 Rick J. Pelleg create