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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28264>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to