Message148524
FWIW, I doubt there's a real issue here. Objects in Python consume a lot more than a byte or two of memory, so the index range of a Python list is generally a lot less than ssize_t allows for. In other words, quantify "large" in "large arrays". How large can a Python list actually be, relative to ssize_t? Similar reasoning accounts for why we never worry about overflow when mucking with refcounts: the size of a refcount member exceeds the maximum number of references that could exist. |
|
Date |
User |
Action |
Args |
2011-11-28 23:45:42 | tim.peters | set | recipients:
+ tim.peters, rhettinger, mark.dickinson, Voo |
2011-11-28 23:45:42 | tim.peters | set | messageid: <1322523942.31.0.838759156554.issue13496@psf.upfronthosting.co.za> |
2011-11-28 23:45:41 | tim.peters | link | issue13496 messages |
2011-11-28 23:45:41 | tim.peters | create | |
|