Brett Cannon added the comment:

What Benjamin said.

Adding something like this is mostly about a nicer constructor 
(``AttributeError(attr='meth')``) and automatically creating the message for 
the exception (although that would require another argument like 'object' or 
something to be able to do e.g. "'dict' object has no attribute 'asdfdsff'" or 
"type object 'dict' has no attribute 'asdfdsf'").

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18156>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to