Chris Angelico <ros...@gmail.com> writes: > Small point: Calling dunder methods is usually a bad idea, so I'd > change this to "p = next(ps)" instead.
Oh yes, I forgot about that. I'm used to ps.next() and was irritated to find that it doesn't work in Python 3, so I did the ugly thing that was closest. Thanks. -- https://mail.python.org/mailman/listinfo/python-list