Dict change in Python 3.2