]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix gzip.py: Use bytes where 8bit strings have been used formerly.
authorWalter Dörwald <walter@livinglogic.de>
Wed, 6 Jun 2007 16:43:59 +0000 (16:43 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Wed, 6 Jun 2007 16:43:59 +0000 (16:43 +0000)
commit5b1284d0b757f28d97fb21d487b4fe19a858c88f
treee95b77d4e44a31dd6826e1ba81d8d8659cc8af62
parent3a77c7ab16d737a19cfb3fae4bd0f92517abe149
Fix gzip.py: Use bytes where 8bit strings have been used formerly.
(The filename gets written in utf-8 encoded form which probably
isn't correct.)

Fix the test.
Lib/gzip.py
Lib/test/test_gzip.py