Fixed benchmarks for Python 2