This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients lars.gustaebel, loewis, techtonik
Date 2008-12-29.22:45:49
SpamBayes Score 1.055927e-07
Marked as misclassified No
Message-id <1230590753.38.0.999259657776.issue4750@psf.upfronthosting.co.za>
In-reply-to
Content
I attach patch for Python 2.6 gzip
I clarified the meaning of self.name to be the basename corresponding to
FNAME field in GZIP file header.

There is a trace of deprecated gzip.filename API - I haven't found any
references to it in documentation, so I removed it. In Python 2.5 it
seemed to mean just filename in read mode and filename + .gz in write
mode even if opened filename did not end with .gz

If FNAME field from gzip header is ignored in read mode, so we want to
make self.filename or self.name available via API - we need to agree
what it should be - basename of archived file or path filename of
archive itself.
History
Date User Action Args
2008-12-29 22:45:53techtoniksetrecipients: + techtonik, loewis, lars.gustaebel
2008-12-29 22:45:53techtoniksetmessageid: <1230590753.38.0.999259657776.issue4750@psf.upfronthosting.co.za>
2008-12-29 22:45:52techtoniklinkissue4750 messages
2008-12-29 22:45:51techtonikcreate