[Python-Dev] An issue recently brought up in patch #872326 (generator expression) (original) (raw)

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Mar 22 18:50:48 EST 2004


jiwon <jiwon at softwise.co.kr>:

IIRC, most people agreed on that iterables in the generator expression need to be pre-computed (including myself). But there's a recent issue about that.

If we're capturing the value of free variables, is there any need to pre-compute the iterators?

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list