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 christian.aguilera@foundry.com
Recipients christian.aguilera@foundry.com
Date 2017-07-24.14:48:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500907708.11.0.730292884872.issue31015@psf.upfronthosting.co.za>
In-reply-to
Content
When an exception is raised in a __del__ method or a finalizer (i.e. a
weakref callback), only the exception name is printed out.

Unfortunately, arbitrarily complex code can be involved which makes
debugging quite tedious. It would be nice to display the full traceback,
so that these errors are easier to diagnose.

The same bug was reported in the past, but it was fixed for Python 3.3 onwards.

Since it is trivial to get this fix in Python 2.7, I'm adding the patch for it here.
History
Date User Action Args
2017-07-24 14:48:28christian.aguilera@foundry.comsetrecipients: + christian.aguilera@foundry.com
2017-07-24 14:48:28christian.aguilera@foundry.comsetmessageid: <1500907708.11.0.730292884872.issue31015@psf.upfronthosting.co.za>
2017-07-24 14:48:28christian.aguilera@foundry.comlinkissue31015 messages
2017-07-24 14:48:27christian.aguilera@foundry.comcreate