Replying to myself... this is getting to be a habit. On Sun, 17 Jul 2005 15:08:12 +1000, Steven D'Aprano wrote:
> I hope that makes sense to you. That wasn't meant as a snide little dig at Peter, and I'm sorry if anyone reads it that way. I found myself struggling to explain simply the different behaviour between list comps and generator expressions, and couldn't be sure I was explaining myself as clearly as I wanted. It might have been better if I had left off the "to you". -- Steven -- http://mail.python.org/mailman/listinfo/python-list