Issue #22836: Keep exception reports sensible despite errors

This commit is contained in:
Martin Panter 2016-02-28 03:16:11 +00:00
parent 738f88f688
commit 3263f6874a
5 changed files with 92 additions and 9 deletions

View file

@ -74,8 +74,8 @@ Printing and clearing
:meth:`__del__` method.
The function is called with a single argument *obj* that identifies the context
in which the unraisable exception occurred. The repr of *obj* will be printed in
the warning message.
in which the unraisable exception occurred. If possible,
the repr of *obj* will be printed in the warning message.
Raising exceptions