Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

The bug itself can be easily fixed. But I think this PR shouldn't be merged at 
first place. Not all functions should accept path-like objects for arbitrary 
arguments. Only if the argument semantically is a path, a path-like object 
should be accepted. Several similar propositions already were rejected for this 
reason.

----------

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

Reply via email to