Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
It is incomplete. For example arrayiterator did have tp_new = NULL (in other words, PyArrayIter_Type.tp_new was not set to non-NULL value). In 3.9: >>> import array >>> type(iter(array.array('I')))() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: cannot create 'arrayiterator' instances In 3.10: >>> import array >>> type(iter(array.array('I')))() <array.arrayiterator object at 0x7f02f88db5c0> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43916> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com