Mark Dickinson <[email protected]> added the comment:

There's a suspicious looking test in list_ass_subscript in Objects/listobject.c:

if (cur + step >= Py_SIZE(self)) {
        lim = Py_SIZE(self) - cur - 1;
}

I think what's happening here is that cur + step is overflowing, so that the 
test fails.

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue7788>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to