Antoine Pitrou <[EMAIL PROTECTED]> added the comment:

Wouldn't it be nice to also store the offending key as a "key" attribute?
Writing key_error.key is a lot intuitive than key_error.args[0] (or is
it key_error.args[1] ? I've already forgotten :-)).

----------
nosy: +pitrou

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2651>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to