Antoine Pitrou <pit...@free.fr> added the comment: Set objects are iterable, they are not iterators themselves. In other words, PyIter_Check() should return true when called with the result of PyObject_GetIter() (but normally you don't need to check anyway).
---------- nosy: +pitrou resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7321> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com