'Simple implementation for systems where /proc/pid/fd exists (we assume
it works).'

def _procFDImplementation(self):

    dname = ('/proc/%d/fd' % (self.getpid(),))
    return [int(fd) for fd in self.listdir(dname)]
