diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-12-14 18:23:30 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-12-14 18:23:30 (GMT) |
commit | c8428d3dce850a54eb49298ceabf95fc3c00867d (patch) | |
tree | d8806d53b2d52b58aaf5f083197e2141d4a8b62f /Misc | |
parent | 999df780d1dffdfe1e1e14122e38df098ef6f1a5 (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |