Dict comps not available in Python 2.6.

Closes #148.