[Python-3000] [Python-Dev] Python 3000 Status Update (Long!)

Russell E. Owen rowen at cesmail.net
Mon Jun 25 21:55:53 CEST 2007


In article <20070624132756.7998.JCARLSON at uci.edu>,
 Josiah Carlson <jcarlson at uci.edu> wrote:

> ...one could make the argument that TOOTDI says that literals and
> generators + constructors are the only reasonable options.
> Comprehensions save perhaps 5 characters over the constructor method,
> and may be a bit faster, but result in teh asymmetry above.  But I will
> admit that comprehension syntax is not likely to be going anywhere, and
> dictionary comprehensions are not likely to be added (and neither are
> tuple comprehensions).

OK, I'll bite. Does Python really need both list comprehensions and 
generator expressions? Perhaps list comprehensions should go away in 
Python 3000? I'm sure it's been discussed (I'm late to this list) and a 
google search showed a few blog entries but nothing more.

-- Russell



More information about the Python-3000 mailing list