消息 [244280]
BTW, given that "iter(iterator)" works and returns the iterator, should we also allow "await x.__await__()" to work? I guess that would be tricky to achieve given that __await__() is only required to return any kind of arbitrary Iterator, and Iterators cannot be awaited due to deliberate restrictions. But it might be nice to have for wrapping purposes. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2015-05-28 06:28:36 | scoder | 修改 | recipients:
+ scoder, gvanrossum, ncoghlan, vstinner, asvetlov, python-dev, yselivanov |
| 2015-05-28 06:28:36 | scoder | 修改 | messageid: <1432794516.54.0.945521559333.issue24017@psf.upfronthosting.co.za> |
| 2015-05-28 06:28:36 | scoder | 链接 | issue24017 messages |
| 2015-05-28 06:28:36 | scoder | 创建 | |
|