Dict comprehension bug for python 2.6.