Terry J. Reedy added the comment:
I copied and pasted my code from turtlecrash.py into 3.7 editor, ran, and
probably held key down for 3000 clicks, and it worked as it should.
--
status: pending -> closed
___
Python tracker
Carol Willing added the comment:
Ran the turtlecrash.py example with Python 3.6 on MacOS 10.12.4. I was unable
to create a crash using keypresses. I recommend closing as 3.2 has reached EOL
and 3.3 will reach EOL in less than 5 months. I'm going to change status to
Pending and Resolution to
Terry J. Reedy added the comment:
It is not safe to call graphic primitives in event callbacks.
Martin, do you agree that this is (or should be) the case?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7074
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7074
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
This is not a duplicate because this issue is about the stdlib turtle module
doing something wrong and needing to be fixed. Also, this issue does not
involve threads, at least none that I starting.
It is not safe to call graphic primitives in
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I can reproduce the crash on OSX. After ~ 100 keystrokes, I get the following
diagnostics:
Exception in Tkinter callback
Traceback (most recent call last):
File
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
This looks like a duplicate of issue11029. It is not safe to call graphic
primitives in event callbacks. A workaround is described at
http://effbot.org/zone/tkinter-threads.htm.
--
resolution: - duplicate
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +gregorlingl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7074
___
___
New submission from Terry J. Reedy tjre...@udel.edu:
Attached file run from IDLE edit window with 3.1, winxp works fine--
turtle moves in response to cursor keys-- if quit soon enough.
But after about 1000 key repeats, pythonw crashes with standard MSVC++
runtime error window, pythonw error
Changes by Terry J. Reedy tjre...@udel.edu:
Removed file: http://bugs.python.org/file15059/turtlecrash.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7074
___
Terry J. Reedy tjre...@udel.edu added the comment:
resubmitting file
--
Added file: http://bugs.python.org/file15060/turtlecrash.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7074
___
11 matches
Mail list logo