GH-114610: Fix `pathlib.PurePath.with_stem('')` handling of file extensions (#114612)
Raise `ValueError` if `with_stem('')` is called on a path with a file
extension. Paths may only have an empty stem if they also have an empty
suffix. B
Barney Gale committed
e3dedeae7abbeda0cb3f1d872ebbb914635d64f2
Parent: 53c5c17
Committed by GitHub <noreply@github.com>
on 2/24/2024, 7:37:03 PM