Raymond Hettinger added the comment:
Since the key is already accessible via the "args" attribute, what is the point
of a new attribute?
>>> d = {}
>>> try:
d['roger']
except KeyError as e:
print(e.args)
('roger',)
----------
nosy: +rhettinger
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18163>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com