Author pitrou
Recipients gpolo, pitrou
Date 2009-02-11.19:41:43
SpamBayes Score 2.26009e-05
Marked as misclassified No
Message-id <1234381305.38.0.100559023268.issue5218@psf.upfronthosting.co.za>
In-reply-to
Content
You must check tp_iter as well, not only Py_TPFLAGS_HAVE_ITER.
Py_TPFLAGS_HAVE_ITER only tells you that the tp_iter field exists, not
that it's non-NULL.
(see the code for PyObject_GetIter() in Objects/abstract.c for an example)
History
Date User Action Args
2009-02-11 19:41:45pitrousetrecipients: + pitrou, gpolo
2009-02-11 19:41:45pitrousetmessageid: <1234381305.38.0.100559023268.issue5218@psf.upfronthosting.co.za>
2009-02-11 19:41:44pitroulinkissue5218 messages
2009-02-11 19:41:43pitroucreate