summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMatthias Bussonnier <mbussonnier@ucmerced.edu>2019-05-20 20:44:11 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-05-20 20:44:11 (GMT)
commit1a3faf9d9740a8c7505c61839ef09929a7ff9e35 (patch)
treebdd3def7859b69fa221e5350842801dd381fdf5c /Misc
parent4011d865d0572a3dd9988f2935cd835cc8fb792a (diff)
downloadcpython-1a3faf9d9740a8c7505c61839ef09929a7ff9e35.zip
cpython-1a3faf9d9740a8c7505c61839ef09929a7ff9e35.tar.gz
cpython-1a3faf9d9740a8c7505c61839ef09929a7ff9e35.tar.bz2
bpo-36952: Remove the bufsize parameter in fileinput.input(). (GH-13400)
This parameter is marked as deprecated since 3.6 and for removal in 3.8. It already had no effects.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-05-20-11-01-28.bpo-36952.MgZi7-.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-05-20-11-01-28.bpo-36952.MgZi7-.rst b/Misc/NEWS.d/next/Library/2019-05-20-11-01-28.bpo-36952.MgZi7-.rst
new file mode 100644
index 0000000..f5ce2aa
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-05-20-11-01-28.bpo-36952.MgZi7-.rst
@@ -0,0 +1,4 @@
+:func:`fileinput.input` and :class:`fileinput.FileInput` **bufsize**
+argument has been removed (was deprecated and ignored since Python 3.6),
+and as a result the **mode** and **openhook** arguments have been made
+keyword-only.