Brett Cannon added the comment:

I think I'm missing something here because the idea of doing `path = str(path)` 
at the API boundary for an old function to support both Path and str objects 
for paths seems fairly minimal. Only when manipulating a path is wanting a Path 
object going to come up, and in that case can't you just do `path = 
pathlib.Path(path)` instead?

----------
nosy: +brett.cannon

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

Reply via email to