I discovered it the hard way. The behaviour around unicode and numeric keys there is different between CPython 2.6, CPython 2.7 and pypy.