[issue33335] turtle.onkey doesn't pass key information when key is None

2018-04-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Library (Lib) -Tkinter nosy: +gregorlingl, willingc stage: -> test needed type: behavior -> enhancement versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python

[issue33335] turtle.onkey doesn't pass key information when key is None

2018-04-22 Thread J E
New submission from J E : I use the turtle module to teach Python to university students. The turtle.onkey function allows a program to register a callback function to handle a keyboard when the turtle window has a focus. For example, this call will result in myfun()