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 oddthinking
Recipients alonho, amaury.forgeotdarc, oddthinking, pitrou
Date 2011-10-15.12:28:18
SpamBayes Score 0.00010009125
Marked as misclassified No
Message-id <1318681698.82.0.897227274292.issue7317@psf.upfronthosting.co.za>
In-reply-to
Content
The formatting isn't very conventional for Python.

Why not use the normal format? i.e.
 
Traceback (most recent call last):
  File "/tmp/bla.py", line 4, in __del__
    None.someattr
AttributeError: 'NoneType' object has no attribute 'someattr'

Why is this more likely to get confused with user input than other unhandled exceptions?

If you ARE going to deviate, it may be helpful to have it explain why this exception wasn't caught through the normal channels. Maybe the last line could be: "Failed to raise this exception in __del__/finalizer method." or similar.
History
Date User Action Args
2011-10-15 12:28:18oddthinkingsetrecipients: + oddthinking, amaury.forgeotdarc, pitrou, alonho
2011-10-15 12:28:18oddthinkingsetmessageid: <1318681698.82.0.897227274292.issue7317@psf.upfronthosting.co.za>
2011-10-15 12:28:18oddthinkinglinkissue7317 messages
2011-10-15 12:28:18oddthinkingcreate