On Fri, 21 Nov 2014 05:47:58 -0800 Raymond Hettinger <raymond.hettin...@gmail.com> wrote: > > Another issue is that it breaks the way I and others have taught for years > that generators are a kind of iterator (an object implementing the iterator > protocol) and that a primary motivation for generators is to provide a > simpler and more direct way of creating iterators. However, Chris explained > that, "This proposal causes a separation of generators and iterators, so it's > no longer possible to pretend that they're the same thing." That is a major > and worrisome conceptual shift.
I agree with Raymond on this point. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com