Message234233
> That way a virtual sequence with PY_SSIZE_T_MAX-1 items would still work (instead of failing unexpectedly).
Actually with PY_SSIZE_T_MAX+1 items (indices from 0 to PY_SSIZE_T_MAX inclusive).
If Raymond insists I can write more complicated patch, but I don't think that we should complicate the code for this pretty hypotetical case. I'm for committing issue22939v2.patch. |
|
Date |
User |
Action |
Args |
2015-01-18 09:56:24 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, ronaldoussoren, mark.dickinson, vstinner, r.david.murray, hakril |
2015-01-18 09:56:24 | serhiy.storchaka | set | messageid: <1421574984.76.0.272602188208.issue22939@psf.upfronthosting.co.za> |
2015-01-18 09:56:24 | serhiy.storchaka | link | issue22939 messages |
2015-01-18 09:56:24 | serhiy.storchaka | create | |
|