summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-12-13 19:25:34 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-12-13 19:25:34 (GMT)
commitbf5ff765970a15255a06e4a4ee7f18b5745079ad (patch)
treeac106a4885c12c27a624f296ee0a08d5d6b195c4 /Misc
parent229663775dd6c869e8daceea6d92af638afa520f (diff)
downloadcpython-bf5ff765970a15255a06e4a4ee7f18b5745079ad.zip
cpython-bf5ff765970a15255a06e4a4ee7f18b5745079ad.tar.gz
cpython-bf5ff765970a15255a06e4a4ee7f18b5745079ad.tar.bz2
Merged revisions 76805 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r76805 | benjamin.peterson | 2009-12-13 13:19:07 -0600 (Sun, 13 Dec 2009) | 7 lines accept None as the same as having passed no argument in file types #7349 This is for consistency with imitation file objects like StringIO and BytesIO. This commit also adds a few tests, where they were lacking for concerned methods. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index dee6df4..335460a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -157,6 +157,10 @@ C-API
Library
-------
+- Issue #7349: Make methods of file objects in the io module accept None as an
+ argument where file-like objects (ie StringIO and BytesIO) accept them to mean
+ the same as passing no argument.
+
- Issue #7357: tarfile no longer suppresses fatal extraction errors by
default.