I love Python 2.7 ++ but this idiom will break code for Python 2.6 which we still support. Used the dict constructor functions instead.