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). The current situation is: use a loop because the obvious generator approach is not efficient. Something seems wrong here... Cheers, Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list