Message233203
Is it necessary to raise when it_index is PY_SSIZE_T_MAX?
An alternative is to set it_index to -1 when there would be overflow and raise an exception on the next call to next(). That way a virtual sequence with PY_SSIZE_T_MAX-1 items would still work (instead of failing unexpectedly). |
|
Date |
User |
Action |
Args |
2014-12-30 11:50:40 | ronaldoussoren | set | recipients:
+ ronaldoussoren, rhettinger, mark.dickinson, vstinner, r.david.murray, serhiy.storchaka, hakril |
2014-12-30 11:50:39 | ronaldoussoren | set | messageid: <1419940239.91.0.171489673109.issue22939@psf.upfronthosting.co.za> |
2014-12-30 11:50:39 | ronaldoussoren | link | issue22939 messages |
2014-12-30 11:50:39 | ronaldoussoren | create | |
|