ipdb: use `@staticmethod` for compat routines