30 Apr
2004
30 Apr
'04
10:09 p.m.
In article
Personally, I'd only like to see generator expressions added to Python if they can allow list comprehensions to be deprecated -- to avoid language clutter.
Listcomps can be deprecated, although not all existing uses of listcomps will translate directly into genexps.
Not all? When would [listcomp] ever not be replaceable by list(gencomp)? -- David Eppstein http://www.ics.uci.edu/~eppstein/ Univ. of California, Irvine, School of Information & Computer Science