diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-12-06 21:39:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 21:39:45 (GMT) |
commit | 31c9f3ced293492b38e784c17c4befe425da5dab (patch) | |
tree | b1c83ae065746025ec183c067c6dae52bb04de13 /Lib/ast.py | |
parent | 0fc4063747c96223575f6f5a0562eddf2ed0ed62 (diff) | |
download | cpython-31c9f3ced293492b38e784c17c4befe425da5dab.zip cpython-31c9f3ced293492b38e784c17c4befe425da5dab.tar.gz cpython-31c9f3ced293492b38e784c17c4befe425da5dab.tar.bz2 |
GH-127381: pathlib ABCs: remove `PathBase.resolve()` and `absolute()` (#127707)
Remove our implementation of POSIX path resolution in `PathBase.resolve()`.
This functionality is rather fragile and isn't necessary in most cases. It
depends on `PathBase.stat()`, which we're looking to remove.
Also remove `PathBase.absolute()`. Many legitimate virtual filesystems lack
the notion of a 'current directory', so it's wrong to include in the basic
interface.
Diffstat (limited to 'Lib/ast.py')
0 files changed, 0 insertions, 0 deletions