summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2017-09-04 17:37:24 (GMT)
committerericvsmith <ericvsmith@users.noreply.github.com>2017-09-04 17:37:24 (GMT)
commit06de1aeff94e524bed21d188065c4cd1590fb046 (patch)
tree67a27d5e57c48158f66d36a99907ae07d8578f34 /Misc
parenta2344851abd3b146ff09d3fc13adb262a7c5450b (diff)
downloadcpython-06de1aeff94e524bed21d188065c4cd1590fb046.zip
cpython-06de1aeff94e524bed21d188065c4cd1590fb046.tar.gz
cpython-06de1aeff94e524bed21d188065c4cd1590fb046.tar.bz2
bpo-31281: Fix pathlib.Path incompatibility in fileinput (gh-3208)
Fix fileinput with inplace=True to accept pathlib.Path objects.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-08-29-07-14-14.bpo-31281.DcFyNs.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-08-29-07-14-14.bpo-31281.DcFyNs.rst b/Misc/NEWS.d/next/Library/2017-08-29-07-14-14.bpo-31281.DcFyNs.rst
new file mode 100644
index 0000000..7fc8229
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-08-29-07-14-14.bpo-31281.DcFyNs.rst
@@ -0,0 +1,2 @@
+Fix ``fileinput.FileInput(files, inplace=True)`` when ``files`` contain
+``pathlib.Path`` objects.