Serhiy Storchaka added the comment: You shouldn't cache Py_SIZE(v) because it can be changed during iteration.
Due to benchmark results in issue15381 I afraid this patch will be much slower on Windows. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19513> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com