[issue41357] pathlib.Path.resolve incorrect os.path equivalent

Jendrik Weise report at bugs.python.org
Tue Jul 21 06:31:29 EDT 2020


New submission from Jendrik Weise <jewe37 at gmail.com>:

According to the table at the bottom of the pathlib documentation Path.resolve() is equivalent to os.path.abspath(path). In contrast to the latter Path.resolve() does follow symlinks though, making it more similar to os.path.realpath(path).

----------
assignee: docs at python
components: Documentation
messages: 374060
nosy: Jendrik Weise, docs at python
priority: normal
severity: normal
status: open
title: pathlib.Path.resolve incorrect os.path equivalent
type: behavior
versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41357>
_______________________________________


More information about the Python-bugs-list mailing list