Steven D'Aprano wrote: > Does anyone know what builtin or stdlib objects iterators fail to > implement `__iter__`? I haven't been able to find any -- all the obvious > examples do (map, filter, reversed, zip, generators, list iterators, > set iterators, etc). Could it possibly be... the async iterator family? Those beasts have __aiter__ and __anext__ methods. https://docs.python.org/3/reference/datamodel.html#asynchronous-iterators _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/54DGJJGOSMFPNGFLHLV33WOJVQA3ZANX/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Re: Enhancing iterator ... David Mertz, Ph.D.
- [Python-ideas] Re: Enhancing iterator ... Paul Bryan
- [Python-ideas] Re: Enhancing iterator ... David Mertz, Ph.D.
- [Python-ideas] Re: Enhancing iterator ... Paul Bryan
- [Python-ideas] Re: Enhancing iterator ... David Mertz, Ph.D.
- [Python-ideas] Re: Enhancing iterator ... Christopher Barker
- [Python-ideas] Re: Enhancing iterator ... Steven D'Aprano
- [Python-ideas] Re: Enhancing iterator ... Steven D'Aprano
- [Python-ideas] Re: Enhancing iterator ... Chris Angelico
- [Python-ideas] Re: Enhancing iterator ... Steven D'Aprano
- [Python-ideas] Re: Enhancing iterator ... Raimi bin Karim
- [Python-ideas] Re: Enhancing iterator objects with map,... Raimi bin Karim
- [Python-ideas] Re: Enhancing iterator objects with... Evpok Padding
- [Python-ideas] Re: Enhancing iterator objects ... Christopher Barker
- [Python-ideas] Re: Enhancing iterator obje... Chris Angelico
- [Python-ideas] Re: Enhancing iterator ... Christopher Barker
- [Python-ideas] Re: Enhancing iterator ... Steven D'Aprano
- [Python-ideas] Re: Enhancing iterator ... David Mertz, Ph.D.
- [Python-ideas] Re: Enhancing iterator obje... Steven D'Aprano
- [Python-ideas] Re: Enhancing iterator objects ... Raimi bin Karim
- [Python-ideas] Re: Enhancing iterator objects ... Steven D'Aprano