changeset: 83200:f78d2605f452 branch: 3.3 parent: 83194:4d8e9c5ba651 user: Serhiy Storchaka date: Mon Apr 08 22:35:02 2013 +0300 files: Lib/gzip.py Lib/test/test_gzip.py Misc/NEWS description: Close #17666: Fix reading gzip files with an extra field. diff -r 4d8e9c5ba651 -r f78d2605f452 Lib/gzip.py --- a/Lib/gzip.py Mon Apr 08 12:59:30 2013 +0300 +++ b/Lib/gzip.py Mon Apr 08 22:35:02 2013 +0300 @@ -302,7 +302,8 @@ if flag & FEXTRA: # Read & discard the extra field, if present - self._read_exact(struct.unpack("