Message119796
There have been several requests for KeyError to grow "key" attribute that will always contain the key that caused the error. See issue 1182143, for example. If this is done, I think it would be natural to unify the args as well for empty and non-empy case. Without adding key access API, however, I am at most -0 on changing the error message. Traditionally, the error messages are not considered part of language specification, so this is not a bug. |
|
Date |
User |
Action |
Args |
2010-10-28 15:44:29 | belopolsky | set | recipients:
+ belopolsky, rhettinger, giampaolo.rodola, djc |
2010-10-28 15:44:28 | belopolsky | set | messageid: <1288280668.88.0.900832112461.issue10221@psf.upfronthosting.co.za> |
2010-10-28 15:44:26 | belopolsky | link | issue10221 messages |
2010-10-28 15:44:26 | belopolsky | create | |
|