Ram Rachum <r...@rachum.com> added the comment:

I understand your argument. I think it relies on your earlier statement: "The 
fact the the path is stored as a string is an implementation detail."

This statement reminds me of the term "architecture astronaut". Pathlib builds 
a cool architecture over the concept of paths. But landing back in reality, all 
paths are strings, aren't they? On any OS, even looking at esoteric things such 
as UNC paths on Windows, they're all eventually strings and are treated by most 
tools as just strings.

If I'm missing any edge cases, let me know. But otherwise I think it's okay to 
look at `Path` as a string with bells and whistles.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40752>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to