PyPy implementation