Julian <[email protected]> added the comment:
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.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue7317>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com