cpython/Lib/test/test_pathlib/support
Barney Gale 5dbd27db7d
GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437)
In the abstract interface of `JoinablePath`, replace `__str__()` with
`__vfspath__()`. This frees user implementations of `JoinablePath` to
implement `__str__()` however they like (or not at all.)

Also add `pathlib._os.vfspath()`, which calls `__fspath__()` or
`__vfspath__()`.
2025-05-12 19:00:36 +01:00
..
__init__.py GH-128520: pathlib ABCs: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
lexical_path.py GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437) 2025-05-12 19:00:36 +01:00
local_path.py GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437) 2025-05-12 19:00:36 +01:00
zip_path.py GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437) 2025-05-12 19:00:36 +01:00