David Isaac wrote:
> Does George's example raise the question:
> why do dictionaries not implement efficient creation
> for two common cases?
> 
> - Making a dict from two sequences of the same length.
> - Making a dict from a sequence and a function
>   (as in George's example in this thread).

Maybe you should lobby for dict comprehensions in Python 3000.  It 
already has set comprehensions:

     http://www.python.org/dev/peps/pep-3100/

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

Reply via email to