Alexander Belopolsky <[EMAIL PROTECTED]> added the comment:

I thought new code is supposed to use Py_TYPE macro instead of ->ob_type:

+                       "%.200s object is not an iterator", it->ob_type-
>tp_name);
..
+       res = (*it->ob_type->tp_iternext)(it);

Py3k branch has the same issue.

----------
nosy: +belopolsky

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2719>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to