Closed niklasl closed 11 months ago
On Python 3.12+, pathlib.Path defines with_segments for explicit overriding, so we can rely on that instead of "spying" on new instances via the private _from_parsed_parts.
pathlib.Path
with_segments
_from_parsed_parts
On Python 3.12+,
pathlib.Path
defineswith_segments
for explicit overriding, so we can rely on that instead of "spying" on new instances via the private_from_parsed_parts
.