Peter Wentworth added the comment:
Oops, I wish I hadn't asked that silly question about the global declaration!
Here is the tweaked file...
--
Added file: http://bugs.python.org/file22073/drag_bug_is_nesting_events.py
___
Python tracker
Changes by Peter Wentworth :
Removed file: http://bugs.python.org/file22072/drag_bug_is_nesting_events.py
___
Python tracker
<http://bugs.python.org/issue6717>
___
___
Peter Wentworth added the comment:
Attached is a crashing program that shows that the event handler is called
again before activation of the prior instance has completed.
I also have a second turtle that queues the nested events. It doesn't crash
the system, at least.
Perhaps someon
Peter Wentworth added the comment:
I can confirm the crash persists as of Python 3.1.3 on Windows, and would like
to add my vote to prioritizing it.
Without having delved into the code, it seems strange that the rapid stream of
events is causing stack overflow / recursion limit problems
New submission from Peter Wentworth :
In Python 3 we no longer have octal literals. The assignment
x = 0050
gives an invalid token error.
But the assignment
y = int("0050") assigns the value 50 to y.
I would advocate consistency in the two situations, and prefer that leading
zeros