[New-bugs-announce] [issue38246] pathlib.resolve and .absolute leave trailing tilde in home expansion

Infrasonics report at bugs.python.org
Sat Sep 21 18:01:21 EDT 2019


New submission from Infrasonics <infrasonics at gmx.de>:

`Path('~').resolve()` gives `PosixPath('/home/youruser/~')`.
Same problem for `.absolute`, yet `.expanduser` works correctly.

----------
components: Library (Lib)
messages: 352954
nosy: Infrasonics
priority: normal
severity: normal
status: open
title: pathlib.resolve and .absolute leave trailing tilde in home expansion
type: behavior
versions: Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list