[New-bugs-announce] [issue28264] Python 3.4.4 Turtle library - Turtle.onclick events blocked by Turtle.stamp
report at bugs.python.org
Fri Sep 23 22:36:40 EDT 2016
New submission from George Fagin:
After a Turtle.stamp() command, turtle click notifications enabled via Turtle.onclick() are blocked until subsequent turtle commands are issued. Examples of the functions that re-enable click notifications include undo(), fd(0), left(0), etc. I've verified this behavior on both Python 3.4.2 (my Raspberry Pi) and Python 3.4.4 (my Windows 7 laptop).
The attached sample code demonstrates that it's not difficult to work around the issue by using one of those functions immediately after any Turtle.click(), but I'd think that should be handled by the library to it's transparent to the user.
components: Library (Lib)
nosy: George Fagin
title: Python 3.4.4 Turtle library - Turtle.onclick events blocked by Turtle.stamp
versions: Python 3.4
Added file: http://bugs.python.org/file44800/click_and_stamp.py
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce