Stefan Behnel added the comment:

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.


Python tracker <>
Python-bugs-list mailing list

Reply via email to