[issue45130] shlex.join() does not accept pathlib.Path objects
Richard
report at bugs.python.org
Tue Sep 7 16:47:37 EDT 2021
Richard <nyuszika7h at gmail.com> added the comment:
IMO comparing shlex.join() to str.join() is a mistake. Comparing it to subprocess.run() is more appropriate.
What do you mean by "proposal"? subprocess.run() already converts Path arguments to str since Python 3.6 (though IIRC this was broken on Windows until 3.7 or so). It indeed does not convert int arguments, but like I said that's irrelevant here, you're the one who brought it up.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45130>
_______________________________________
More information about the Python-bugs-list
mailing list