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 scoder
Recipients gvanrossum, ncoghlan, python-dev, scoder, yselivanov
Date 2015-05-29.20:03:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432929804.3.0.468116579557.issue24316@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, now the problem with *this* patch is that __iter__ and __await__ are special methods that are being looked up on the type, not the instance. Similarly __next__, I think, as it also has its own (type) slot. But I think you're right that __next__ is also needed here.

I'm attaching a patch that works for me.
History
Date User Action Args
2015-05-29 20:03:24scodersetrecipients: + scoder, gvanrossum, ncoghlan, python-dev, yselivanov
2015-05-29 20:03:24scodersetmessageid: <1432929804.3.0.468116579557.issue24316@psf.upfronthosting.co.za>
2015-05-29 20:03:24scoderlinkissue24316 messages
2015-05-29 20:03:24scodercreate