]> granicus.if.org Git - python/commit
Issue #4757: `zlib.compress` and other methods in the zlib module now
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 14 Dec 2009 18:00:06 +0000 (18:00 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 14 Dec 2009 18:00:06 +0000 (18:00 +0000)
commit77b338be20f29712c0774e7c2d36d7afb541e4b6
tree071314bbc64d33e1cb3284764a1c7f2f13423bea
parent338eae3460be044e1af9c590dff1a15baaa0520a
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.
Lib/gzip.py
Lib/tarfile.py
Lib/test/test_zlib.py
Misc/NEWS
Modules/zlibmodule.c