You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2020-02-26.18:54:50.462>created_at=<Date2017-07-24.14:48:28.089>labels= ['type-feature', 'library']
title='PyErr_WriteUnraisable should be more verbose in Python 2.7'updated_at=<Date2020-02-26.18:54:50.461>user='https://bugs.python.org/christianaguilerafoundrycom'
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: