alon horev <alo...@gmail.com> added the comment: 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.. ---------- Added file: http://bugs.python.org/file23414/7317.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7317> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com