Message 81339 - Python tracker
> If possible, pybench should work unchanged in both Python 2.x and 3.x. Ok, the best I can do is to make it 2.6-compatible. For versions before 2.6, stuff like "except Exception as e" does not make compatibility reasonably achievable.