[issue6717] Some problem with recursion handling

2011-05-23 Thread Peter Wentworth
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

[issue6717] Some problem with recursion handling

2011-05-23 Thread Peter Wentworth
Changes by Peter Wentworth : Removed file: http://bugs.python.org/file22072/drag_bug_is_nesting_events.py ___ Python tracker <http://bugs.python.org/issue6717> ___ ___

[issue6717] Some problem with recursion handling

2011-05-22 Thread Peter Wentworth
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

[issue6717] Some problem with recursion handling

2011-05-22 Thread Peter Wentworth
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

[issue12127] Inconsistent leading zero treatment

2011-05-19 Thread Peter Wentworth
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