消息 [244408]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2015-05-29 20:03:24 | scoder | 修改 | recipients:
+ scoder, gvanrossum, ncoghlan, python-dev, yselivanov |
| 2015-05-29 20:03:24 | scoder | 修改 | messageid: <1432929804.3.0.468116579557.issue24316@psf.upfronthosting.co.za> |
| 2015-05-29 20:03:24 | scoder | 链接 | issue24316 messages |
| 2015-05-29 20:03:24 | scoder | 创建 | |
|