core: Prevent infinite recursion with Pypy.