Miles Kaufmann wrote:
On Jun 9, 2009, at 6:05 AM, Diez B. Roggisch wrote:

Also as list-comps are going away and are replaced by

list(<generator-expression>)

Where did you hear that?

Perhaps in the discussion of possible changes for 3.0 about 18 months ago. The idea was rejected because set/list/dict(genexp) is too much slower (say 2x) than the direct implementation of set/list/dict comprehensions.

tjr

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to