do not use dict comprehension, it doesn't work in Python 2.6