Message233021
> > 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. |
|
Date |
User |
Action |
Args |
2014-12-22 15:36:13 | hakril | set | recipients:
+ hakril, rhettinger, mark.dickinson, vstinner, r.david.murray, serhiy.storchaka |
2014-12-22 15:36:13 | hakril | set | messageid: <1419262573.73.0.836648946466.issue22939@psf.upfronthosting.co.za> |
2014-12-22 15:36:13 | hakril | link | issue22939 messages |
2014-12-22 15:36:13 | hakril | create | |
|