Message81659
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) |
|
Date |
User |
Action |
Args |
2009-02-11 19:41:45 | pitrou | set | recipients:
+ pitrou, gpolo |
2009-02-11 19:41:45 | pitrou | set | messageid: <1234381305.38.0.100559023268.issue5218@psf.upfronthosting.co.za> |
2009-02-11 19:41:44 | pitrou | link | issue5218 messages |
2009-02-11 19:41:43 | pitrou | create | |
|