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 alonho
Recipients alonho, amaury.forgeotdarc, oddthinking, pitrou
Date 2011-10-15.15:09:07
SpamBayes Score 7.190458e-08
Marked as misclassified No
Message-id <1318691348.61.0.0877599543888.issue7317@psf.upfronthosting.co.za>
In-reply-to
Content
Here's the next attempt (took your advice about the convention):

Exception ignored in: <bound method A.__del__ of <__main__.A object at 0x1007671d0>>
Traceback (most recent call last):
  File "/tmp/bla.py", line 4, in __del__
    None.someattr
AttributeError: 'NoneType' object has no attribute 'someattr'

reminder of the current format for comparison:

Exception AttributeError: "'NoneType' object has no attribute 'someattr'" in <bound method A.__del__ of <__main__.A object at 0x1007671d0>> ignored

I thought about a more elaborate explanation than "Exception ignored" but grepping this function through the code shows it can be called from various places making it too generic.

The reason I wanted to add a header/footer is for stating the message and the traceback go together (I print tracebacks to screen all the time), but it might be TMI..
History
Date User Action Args
2011-10-15 15:09:08alonhosetrecipients: + alonho, amaury.forgeotdarc, pitrou, oddthinking
2011-10-15 15:09:08alonhosetmessageid: <1318691348.61.0.0877599543888.issue7317@psf.upfronthosting.co.za>
2011-10-15 15:09:08alonholinkissue7317 messages
2011-10-15 15:09:07alonhocreate