Python 2.7 and PyPy support