Feature/behavior summary
pathlib offers a higher-level abstraction of paths than os.path, including a Path object. Moving to pathlib would make the code cleaner, and would make it simpler for us to expose (via type-hints and docstrings) when certain functions expect paths.
Request attributes
Related issues
N/A
Solution description
Additional notes
If applied generally, I think this would break backwards compatibility -- some functions accepting strings should probably accept a Path (or os.PathLike).
Feature/behavior summary
pathliboffers a higher-level abstraction of paths thanos.path, including aPathobject. Moving topathlibwould make the code cleaner, and would make it simpler for us to expose (via type-hints and docstrings) when certain functions expect paths.Request attributes
Related issues
N/A
Solution description
os.pathtopathlibPathoros.PathLikeinstead ofstrAdditional notes
If applied generally, I think this would break backwards compatibility -- some functions accepting strings should probably accept a
Path(oros.PathLike).