[issue30432] FileInput doesn't accept PathLike objects for file names
Roy Williams
report at bugs.python.org
Mon May 22 19:16:29 EDT 2017
Roy Williams added the comment:
@arp11 sorry for the too-minimal repro :D - the issue is with FileInput attempting to cast `files` to a tuple. Instead, if passed a PathLike object FileInput should set `files` to a tuple just as it does with a str.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30432>
_______________________________________
More information about the Python-bugs-list
mailing list