Brett Cannon <br...@python.org> added the comment:

I'm -1 as PEP 519 created __fspath__ specifically so that pathlib.Path wouldn't 
be confused as a string by accident. You can also use os.fspath() to get a 
string representation of the path itself.

I also don't know if Antoine wants to make this sort of call for pathlib 
anymore as he isn't listed in https://devguide.python.org/experts/ or 
https://github.com/python/cpython/blob/master/.github/CODEOWNERS for pathlib 
anymore (and that was an explicit choice based on code history for the experts 
index).

----------
nosy: +brett.cannon
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

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

Reply via email to