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 JanKanis
Recipients JanKanis
Date 2013-06-05.12:09:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370434176.62.0.932474289882.issue18141@psf.upfronthosting.co.za>
In-reply-to
Content
While fixing #18132 I noticed that when closing the turtledemo window an exception is thrown (and ignored) because the __del__ tries to catch a TclError exception, but the TclError global has already been deleted and set to None. 

I could only reproduce this in my self built pydebug build, at least on revision dfcb64f51f7b, but not on the v3.3.2 tag. (compiled with --with-pydebug on linux x86-64)


traceback:

me@mymachine ~/d/cpython> ./python -m turtledemo
BYE!
Exception ignored in: <bound method PhotoImage.__del__ of <tkinter.PhotoImage object at 0x7fbddb4f0a18>>
Traceback (most recent call last):
  File "~/devel/cpython/Lib/tkinter/__init__.py", line 3330, in __del__
TypeError: catching classes that do not inherit from BaseException is not allowed
History
Date User Action Args
2013-06-05 12:09:36JanKanissetrecipients: + JanKanis
2013-06-05 12:09:36JanKanissetmessageid: <1370434176.62.0.932474289882.issue18141@psf.upfronthosting.co.za>
2013-06-05 12:09:36JanKanislinkissue18141 messages
2013-06-05 12:09:36JanKaniscreate