Author xmorel
Recipients ascola, eric.smith, paul.j3, rhettinger, xmorel
Date 2020-12-08.08:08:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607414914.05.0.45020483167.issue42572@roundup.psfhosted.org>
In-reply-to
Content
> What exactly do you do with a path argument?

Because they mention "convert[ing] the string to a path", I would expect an output of `pathlib.Path`, optionally checked for existence / non-existence and / or kind (file, directory, symlink, ...).

Obviously it is rather easy to bring your own, but OP's expectation is that paths input is common enough (especially in smaller standalone scripts I would expect) that having a helper in a standard library would be... helpful.
History
Date User Action Args
2020-12-08 08:08:34xmorelsetrecipients: + xmorel, rhettinger, eric.smith, paul.j3, ascola
2020-12-08 08:08:34xmorelsetmessageid: <1607414914.05.0.45020483167.issue42572@roundup.psfhosted.org>
2020-12-08 08:08:34xmorellinkissue42572 messages
2020-12-08 08:08:33xmorelcreate