SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

GH-130614: pathlib ABCs: retain original separator in `with_name()` (#130990)

In `pathlib.types._JoinablePath.with_name()`, retain any alternative path
separator preceding the old name, rather stripping and replacing it with a
primary separator. As a result, this method changes _only_ the name.
B
Barney Gale committed
ba64cc5db410a893e6ff5bfee9210207947b69c2
Parent: c240c2d
Committed by GitHub <noreply@github.com> on 3/9/2025, 4:36:20 PM