adapt pypy