libris / definitions

Concept schemes, vocabulary definitions and mappings used for KB/Libris
Apache License 2.0
18 stars 9 forks source link

Override with_segments in TrackedPath on Py 3.12+ #455

Closed niklasl closed 11 months ago

niklasl commented 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.