barneygale / pathlib-abc

Python base classes for rich path objects
Other
23 stars 1 forks source link

Inconsistent behaviour between Windows and Posix #1

Closed barneygale closed 7 months ago

barneygale commented 7 months ago

PurePathBase.pathmod is currently set to os.path, and so things like path separators vary depending on the host system. This is undesirable for base classes.

Short term solution: set it to posixpath

Possible longer-term solution: make fewer assumptions about path syntax, drop pathmod?