'Make the path absolute, resolving all symlinks on the way and also
normalizing it (for example turning slashes into backslashes under
Windows).'

def resolve(self, strict=False):

    if self._closed:
        self._raise_closed()
    s = self._flavour.resolve(self, strict=strict)
    if (s is None):
        self.stat()
        s = str(self.absolute())
    normed = self._flavour.pathmod.normpath(s)
    obj = self._from_parts((normed,), init=False)
    obj._init(template=self)
    return obj
