[New-bugs-announce] [issue28264] Python 3.4.4 Turtle library - Turtle.onclick events blocked by Turtle.stamp

George Fagin 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)
files: click_and_stamp.py
messages: 277306
nosy: George Fagin
priority: normal
severity: normal
status: open
title: Python 3.4.4 Turtle library - Turtle.onclick events blocked by Turtle.stamp
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file44800/click_and_stamp.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28264>
_______________________________________


More information about the New-bugs-announce mailing list