To be fair, `_getframe` is absolutely an implementation detail, and decorator should not be relying on this.