Raymond Hettinger added the comment: Attaching a diff for the bounds checking Objects/listobject.c. It looks like elsewhere in that file, (size_t) casts are done for various reasons.
---------- Added file: http://bugs.python.org/file38282/bounds_check_list.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23553> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com