[Python-Dev] Maybe, just maybe, pathlib doesn't belong. (original) (raw)

Sven R. Kunze srkunze at mail.de
Mon Apr 11 16:48:39 EDT 2016


On 11.04.2016 22:33, Alexander Walters wrote:

If there is headway being made, I do not see it.

Funny that you brought it up. I was about posting something myself. I cannot agree completely. But starting with a comment from Paul, I realized that pathlib is something different than a string. After doing the research and our issues with pathlib, I found:

I know that all of those discussions of a new protocol (path->str, fspath etc. etc.) might be rendered worthless by these two statements. But that's my conclusion.

"os" and "os.path" are just lower level. "pathlib" is a high-level, convenience library. When using it, I don't want to use "os" or "os.path" anymore. If I still do, "pathlib" needs improving. Not "os" nor "os.path".

Best, Sven -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160411/b56b459a/attachment.html>



More information about the Python-Dev mailing list