GH-113528: Deoptimise `pathlib._abc.PurePathBase.relative_to()` (#113529)
Replace use of `_from_parsed_parts()` with `with_segments()` in `PurePathBase.relative_to()`, and move the assignment of `_drv`, `_root` and `_tail_cached` slots into `PurePath.relative_to()`.
B
Barney Gale committed
a15a7735e69862fdfc0ed21bc1ade3a32833a01d
Parent: 37bd893
Committed by GitHub <noreply@github.com>
on 1/6/2024, 9:37:38 PM