cpython/Lib/pathlib
Barney Gale 809eed4805
GH-114610: Fix pathlib._abc.PurePathBase.with_suffix('.ext') handling of stems (#114613)
Raise `ValueError` if `with_suffix('.ext')` is called on a path without a
stem. Paths may only have a non-empty suffix if they also have a non-empty
stem.

ABC-only bugfix; no effect on public classes.
2024-01-30 14:25:16 +00:00
..
__init__.py gh-88569: add ntpath.isreserved() (#95486) 2024-01-26 18:14:24 +00:00
_abc.py GH-114610: Fix pathlib._abc.PurePathBase.with_suffix('.ext') handling of stems (#114613) 2024-01-30 14:25:16 +00:00