Allow os.PathLike
objects in read_*
and scan_*
functions
#17828
Labels
A-input-parsing
Area: parsing input arguments
A-io
Area: reading and writing data
accepted
Ready for implementation
enhancement
New feature or an improvement of an existing feature
Description
This basically already works: because current
normalize_filepath
implementation already works withos.PathLike
(just needs updated type hints).The only place where change is needed is here
The rest of the change would be type hints
Example
The text was updated successfully, but these errors were encountered: