changeset: 83201:cd5e3adc6fc1 parent: 83196:113ff45c3f11 parent: 83200:f78d2605f452 user: Serhiy Storchaka date: Mon Apr 08 22:37:15 2013 +0300 files: Lib/gzip.py Misc/NEWS description: Close #17666: Fix reading gzip files with an extra field. diff -r 113ff45c3f11 -r cd5e3adc6fc1 Lib/gzip.py --- a/Lib/gzip.py Mon Apr 08 08:48:03 2013 -0400 +++ b/Lib/gzip.py Mon Apr 08 22:37:15 2013 +0300 @@ -302,7 +302,8 @@ if flag & FEXTRA: # Read & discard the extra field, if present - self._read_exact(struct.unpack("