Message81659
| Author |
pitrou |
| Recipients |
gpolo, pitrou |
| Date |
2009年02月11日.19:41:43 |
| SpamBayes Score |
2.2600854e-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: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 |
|