

@wrap_exceptions
def get_process_name(self):
    f = open(('/proc/%s/stat' % self.pid))
    try:
        name = self.read().split(' ')[1].replace('(', '').replace(')', '')
    finally:
        f.close()
    return name

dataset/ETHPy150Open packages/psutil/psutil/_pslinux.py Process.get_process_name/VarMisuse@32/43 `f`->`self`