]> granicus.if.org Git - python/commit
bpo-30432: FileInput doesn't accept PathLike objects for file names (#1732)
authorRoy Williams <roy.williams.iii@gmail.com>
Tue, 23 May 2017 05:24:17 +0000 (22:24 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Tue, 23 May 2017 05:24:17 +0000 (22:24 -0700)
commit002665a9da3a2924c4a08511ede62ff4d1dabc48
tree1b8d492d97e6251d2c9b84b0433e594985e5a88c
parentd618c8c6d31b9b288f8a070417683974eb98e3ba
bpo-30432: FileInput doesn't accept PathLike objects for file names (#1732)

* Allow FileInput to accept a single PathLike object as a parameter for `files`

Fixes

bpo-30432: FileInput doesn't accept PathLike objects for file names

* Address comments from @ambv
Lib/fileinput.py
Lib/test/test_fileinput.py