workaround for pypy NotImplementedError