SF patch #1005778, Fix seg fault if list object is modified during list.index()

Backport candidate
3 files changed