Author hakril
Recipients hakril, mark.dickinson, r.david.murray, rhettinger, serhiy.storchaka, vstinner
Date 2014-12-22.15:36:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419262573.73.0.836648946466.issue22939@psf.upfronthosting.co.za>
In-reply-to
Content
> > The call to PySequence_GetItem() may be expensive, and we have to drop
> > the result if an OverflowError is raised after the call.

> You do realize that this error will be very rare and therefore inconsequential.

The real question is: why would you call the iterator for a new value if it will be discarded anyway ? I think it could be very misleading to see  _getitem__ being called and have an OverflowError being raised afterward.
History
Date User Action Args
2014-12-22 15:36:13hakrilsetrecipients: + hakril, rhettinger, mark.dickinson, vstinner, r.david.murray, serhiy.storchaka
2014-12-22 15:36:13hakrilsetmessageid: <1419262573.73.0.836648946466.issue22939@psf.upfronthosting.co.za>
2014-12-22 15:36:13hakrillinkissue22939 messages
2014-12-22 15:36:13hakrilcreate