summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-12-14 18:23:30 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-12-14 18:23:30 (GMT)
commitc8428d3dce850a54eb49298ceabf95fc3c00867d (patch)
treed8806d53b2d52b58aaf5f083197e2141d4a8b62f /Misc
parent999df780d1dffdfe1e1e14122e38df098ef6f1a5 (diff)
downloadcpython-c8428d3dce850a54eb49298ceabf95fc3c00867d.zip
cpython-c8428d3dce850a54eb49298ceabf95fc3c00867d.tar.gz
cpython-c8428d3dce850a54eb49298ceabf95fc3c00867d.tar.bz2
Merged revisions 76836 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r76836 | antoine.pitrou | 2009-12-14 19:00:06 +0100 (lun., 14 déc. 2009) | 5 lines Issue #4757: `zlib.compress` and other methods in the zlib module now raise a TypeError when given an `str` object (rather than a `bytes`-like object). Patch by Victor Stinner and Florent Xicluna. ........
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 c69ca6a..4b5d102 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -58,6 +58,10 @@ Core and Builtins
Library
-------
+- Issue #4757: `zlib.compress` and other methods in the zlib module now
+ raise a TypeError when given an `str` object (rather than a `bytes`-like
+ object). Patch by Victor Stinner and Florent Xicluna.
+
- 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.