dict comprehensions aren't available in python 2.6