You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEA]: Add ordering support to MultiStoragePath for deterministic sorting #62
Sorting the glob results gives a deterministic path order. This is useful because glob() iteration order can vary across machines/filesystems, while sorting should return the same list as long as the directory contents are the same.
With MultiStoragePath, the same pattern currently fails:
TypeError: '<' not supported between instances of 'MultiStoragePath' and 'MultiStoragePath'
It would be useful for MultiStoragePath to implement ordering operators, likely based on the normalized string/path representation, so that common Python ordering utilities such as sorted(...), min(...), and max(...) work consistently with pathlib.Path.
Feature Description
.
Describe your ideal solution
.
Describe any alternatives you have considered
No response
Additional context
No response
Code of Conduct
I agree to follow the Code of Conduct
I have searched the open feature requests and have found no duplicates for this feature request
Activity