Transparently support running under CPython and PyPy.