[New-bugs-announce] [issue38924] pathlib paths .normalize()

Ionuț Ciocîrlan report at bugs.python.org
Tue Nov 26 17:23:45 EST 2019


New submission from Ionuț Ciocîrlan <ionut.ciocirlan at gmail.com>:

pathlib paths should expose a `.normalize()` method. This is highly useful, especially in web-related scenarios.

On `PurePath` its usefulness is obvious, but it's debatable for `Path`, as it would yield different results from `.resolve()` in case of symlinks (which resolves them before normalizing).

----------
components: Library (Lib)
messages: 357534
nosy: iciocirlan
priority: normal
severity: normal
status: open
title: pathlib paths .normalize()
type: enhancement
versions: Python 3.9

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


More information about the New-bugs-announce mailing list