There is no dict comprehension in python 2.4