Message244280
| Author |
scoder |
| Recipients |
asvetlov, gvanrossum, ncoghlan, python-dev, scoder, vstinner, yselivanov |
| Date |
2015年05月28日.06:28:36 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1432794516.54.0.945521559333.issue24017@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|