This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author damianeads
Recipients damianeads
Date 2009-11-14.09:08:45
SpamBayes Score 0.00148302
Marked as misclassified No
Message-id <>
The instructions for the C interface to the Python set class

say to use PyObject_GetIter and follow the iterator protocol. After
following the instructions for the iterator protocol here,

I was able to successfully iterate through a set object. However,
PyIter_Check(obj) returns false yet set objects follow the iterator
protocol. Is this the correct behavior?

Thank you.

Kind regards,

Damian Eads
Date User Action Args
2009-11-14 09:08:49damianeadssetrecipients: + damianeads
2009-11-14 09:08:49damianeadssetmessageid: <>
2009-11-14 09:08:46damianeadslinkissue7321 messages
2009-11-14 09:08:46damianeadscreate