This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregorlingl
Recipients gregorlingl
Date 2009-08-17.14:15:57
SpamBayes Score 6.7150174e-12
Marked as misclassified No
Message-id <1250518561.04.0.421053701967.issue6717@psf.upfronthosting.co.za>
In-reply-to
Content
I suspect that there is some deeper (more severe) issue behind the
problem I describe below. I've observed the following on Windows only.
Didn't try it with different OSs

running dragbug.py shows different behaviour with Python 3.1 compared to
Python 2.6:

Running it with Python 3.1 and performing heavy turtle dragging with the
mouse results in:

Fatal Python error: Cannot recover from stack overflow
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team
-- As I do at the moment ;-) 

Running the same script from Python 2.6: The error is much harder to
reproduce (only with very excessive dragging). It's a bit easier to
reproduce when running the program from a console and  if it occurs one
gets a conventional Python error message:

First a long sequence of:
Exception in Tkinter callback
Traceback (most recent call last):
Exception RuntimeError: 'maximum recursion depth exceeded while .... 
ignored

Followed by:

Traceback (most recent call last):
  File "dragbug.py", line 10, in <module>
    mainloop()
  ....
  File "c:\Python26\lib\traceback.py", line 57, in print_tb
    if hasattr(sys, 'tracebacklimit'):
AttributeError: 'module' object has no attribute 'tracebacklimit'

This problem can be overcome by setting a higher recurson limit. But I
think one should require that it doesn't produce a Fatal Error like in
Python 3.1

Regards,
Gregor
History
Date User Action Args
2009-08-17 14:16:01gregorlinglsetrecipients: + gregorlingl
2009-08-17 14:16:01gregorlinglsetmessageid: <1250518561.04.0.421053701967.issue6717@psf.upfronthosting.co.za>
2009-08-17 14:15:59gregorlingllinkissue6717 messages
2009-08-17 14:15:58gregorlinglcreate