✨ Feature Request
Iris uses os.path to handle file paths, but the standard in Python 3 is to use pathlib.PurePath objects. #3411 proposed adopting pathlib.PurePath and this is partially implemented by #3917. The present issue proposes replacing os.path with the use of pathlib across the whole of Iris.
Details
#3917 implements pathlib.PurePath for the main public functions only (load, load_cube, load_cubes, load_raw and save). See #3917 (review) for full details of what has been done and what is still to do.
✨ Feature Request
Iris uses
os.pathto handle file paths, but the standard in Python 3 is to usepathlib.PurePathobjects. #3411 proposed adoptingpathlib.PurePathand this is partially implemented by #3917. The present issue proposes replacingos.pathwith the use ofpathlibacross the whole of Iris.Details
#3917 implements
pathlib.PurePathfor the main public functions only (load,load_cube,load_cubes,load_rawandsave). See #3917 (review) for full details of what has been done and what is still to do.