summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-12-13 19:30:15 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-12-13 19:30:15 (GMT)
commit6b59f77c43c492f4c707ad4d8e2d2b0b871414e8 (patch)
tree68d0d1953d03c1dda5c0f9ebc8c346f63d6e70ad /Misc
parentbb4cd51982df53099990a11969afe57beae2d912 (diff)
downloadcpython-6b59f77c43c492f4c707ad4d8e2d2b0b871414e8.zip
cpython-6b59f77c43c492f4c707ad4d8e2d2b0b871414e8.tar.gz
cpython-6b59f77c43c492f4c707ad4d8e2d2b0b871414e8.tar.bz2
Merged revisions 76806,76808 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76806 | benjamin.peterson | 2009-12-13 13:25:34 -0600 (Sun, 13 Dec 2009) | 14 lines 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. ........ ................ r76808 | benjamin.peterson | 2009-12-13 13:28:09 -0600 (Sun, 13 Dec 2009) | 9 lines Merged revisions 76807 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76807 | benjamin.peterson | 2009-12-13 13:27:02 -0600 (Sun, 13 Dec 2009) | 1 line remove unused variable ........ ................
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 237558d..c69ca6a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -58,6 +58,10 @@ Core and Builtins
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 #5949: added check for correct lineends in input from IMAP server
in imaplib.