This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients barry, brett.cannon, cool-RR, cvrebert, eric.araujo, ezio.melotti, r.david.murray, rhettinger, serhiy.storchaka
Date 2014-07-05.13:23:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404566629.27.0.0524245901858.issue18162@psf.upfronthosting.co.za>
In-reply-to
Content
Knowing the len of the sequence would also be useful.
Brett, were you also planning to use these attributes in the error message (when they are available), or do you prefer to keep the two issues separate and reopen #21911?

> Is there a meta-issue for these changes?

FTR the other relevant issues are:
  #18156: Add an 'attr' attribute to AttributeError
  #18163: Add a 'key' attribute to KeyError
  #18165: Add 'unexpected_type' to TypeError
  #18166: 'value' attribute for ValueError
History
Date User Action Args
2014-07-05 13:23:49ezio.melottisetrecipients: + ezio.melotti, barry, brett.cannon, rhettinger, eric.araujo, r.david.murray, cvrebert, cool-RR, serhiy.storchaka
2014-07-05 13:23:49ezio.melottisetmessageid: <1404566629.27.0.0524245901858.issue18162@psf.upfronthosting.co.za>
2014-07-05 13:23:49ezio.melottilinkissue18162 messages
2014-07-05 13:23:49ezio.melotticreate