Overview
| Artifact ID: | e92c8e844de1937e74414690988d69bacb7c7a71ba565ddc1b46b9eae5314503 |
|---|---|
| Ticket: | aaa02c55b9cb7b62c39bb02a7631ccd88fd00295
lrange with huge index, weird results |
| User & Date: | sebres on 2017-11-03 09:43:47 |
Changes
- icomment:
Hi Jan, as you certainly know, the index is signed integer here, thus just do `expr {int(2147483649)}` -> -2147483647 :) The options: - Rather the index should be retrieved as INT_MAX in such cases (which could be also too dangerous e. g. will unexpectedly return something for very large lists); - Or the API for indices should be rewritten to wide-int (incompatible then); - Or the error "integer too large" should be thrown (which will be certainly annoying sometimes). - login: "sebres"
- mimetype: "text/plain"