[New-bugs-announce] [issue39659] pathlib calls `os.getcwd()` without using accessor

Barney Gale report at bugs.python.org
Sun Feb 16 19:57:42 EST 2020

New submission from Barney Gale <barney.gale at gmail.com>:

Whereas most calls to `os` functions from `pathlib.Path` methods happen via `pathlib._Accessor` methods, retrieving the current working directory does not. This problem occurs when calling the `pathlib.Path.cwd()`, `~resolve()` and `~absolute()` methods.

components: Library (Lib)
messages: 362114
nosy: barneygale
priority: normal
severity: normal
status: open
title: pathlib calls `os.getcwd()` without using accessor
versions: Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list