Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment: Seems PyIter_Check and PySequence_ITEM have the same problem. And maybe more. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue33738> _______________________________________