cpython/Lib/test/test_pathlib
Barney Gale 0f47a3199c
pathlib ABCs: support initializing paths with no arguments (#126608)
In the past I've equivocated about whether to require at least one argument
in the `PurePathBase` (and `PathBase`) initializer, and what the default
should be if we make it optional. I now have a local use case that has
persuaded me to make it optional and default to the empty string (a
`zipp.Path`-like class that treats relative and absolute paths similarly.)
Happily this brings the base class more in line with `PurePath` and `Path`.
2024-11-09 18:21:53 +00:00
..
__init__.py
test_pathlib.py GH-125069: Fix inconsistent joining in WindowsPath(PosixPath(...)) (#125156) 2024-10-13 17:46:10 +00:00
test_pathlib_abc.py pathlib ABCs: support initializing paths with no arguments (#126608) 2024-11-09 18:21:53 +00:00