Message145589
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. |
|
Date |
User |
Action |
Args |
2011-10-15 12:28:18 | oddthinking | set | recipients:
+ oddthinking, amaury.forgeotdarc, pitrou, alonho |
2011-10-15 12:28:18 | oddthinking | set | messageid: <1318681698.82.0.897227274292.issue7317@psf.upfronthosting.co.za> |
2011-10-15 12:28:18 | oddthinking | link | issue7317 messages |
2011-10-15 12:28:18 | oddthinking | create | |
|