Message244408
| 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. |
|