On Mon, Dec 14, 2015 at 5:41 PM, Benjamin Root <ben.v.root@gmail.com> wrote:
>
> Heh, never noticed that. Was it implemented more like a generator/iterator in older versions of Python?

No, it predates generators and iterators so it has always had to be implemented like that.

--
Robert Kern