dict comprehension

Arnaud Delobelle arnodel at googlemail.com
Sun Feb 3 04:02:47 EST 2008


On Feb 2, 9:10 pm, bearophileH... at lycos.com wrote:
> Steven Bethard:
>
> > It also doesn't build the unnecessary intermediate tuples:
>
> I see, but can't the interpreter improved to remove similar
> intermediate tuples anyway?

Do you mean the compiler?

> Is this a difficult thing to do?

Yes, due to the HDNP (Highly Dynamic Nature of Python).

--
Arnaud




More information about the Python-list mailing list