[Python-Dev] Revert #12085 fix for __del__ attribute error message

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 24 00:11:54 CEST 2013

Antoine Pitrou wrote:
> Yes, but I agree with Greg that "unraisable" is wrong. After all, it
> was raised, and it can even be caught by the programmer (inside
> __del__).

How about something like "Uncaught exception in __del__
method ignored"? It explains fairly clearly what has
happened, and also indicates what do do about it --
catch it in the __del__ method.


More information about the Python-Dev mailing list