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 window, and IDLE shell window
trackback ending with "RuntimeError: maximum recursion depth exceeded
while calling a Python object". The full traceback in appended to the file.
Disabling the undo buffer did not solve the problem.
Running the file from regular interpreter with
>>>exec(open(filename,'r').read())
gave essentially same result -- same traceback with slightly different
associated messages, so it is not an IDLE problem.
The demo/test at the bottem of turtle.py works fine -- but it does not
run as long.
I do not see the recursion, but calling the configuration merge with
every movement seems fishy. |