]> granicus.if.org Git - python/commit
bpo-31281: Fix pathlib.Path incompatibility in fileinput (gh-3208)
authorZhiming Wang <zmwangx@gmail.com>
Mon, 4 Sep 2017 17:37:24 +0000 (01:37 +0800)
committerericvsmith <ericvsmith@users.noreply.github.com>
Mon, 4 Sep 2017 17:37:24 +0000 (13:37 -0400)
commit06de1aeff94e524bed21d188065c4cd1590fb046
tree67a27d5e57c48158f66d36a99907ae07d8578f34
parenta2344851abd3b146ff09d3fc13adb262a7c5450b
bpo-31281: Fix pathlib.Path incompatibility in fileinput (gh-3208)

Fix fileinput with inplace=True to accept pathlib.Path objects.
Lib/fileinput.py
Lib/test/test_fileinput.py
Misc/NEWS.d/next/Library/2017-08-29-07-14-14.bpo-31281.DcFyNs.rst [new file with mode: 0644]