[issue17681] Work with an extra field of gzip and zip files

2021-05-06 Thread Nikolaus Rath
Change by Nikolaus Rath : -- nosy: -nikratio ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue17681] Work with an extra field of gzip and zip files

2021-05-05 Thread Benjamin Sergeant
Benjamin Sergeant added the comment: type Header struct { Comment string// comment Extra []byte// "extra data" ModTime time.Time // modification time Namestring// file name OS byte // operating system type } This is what the header/extra things l

[issue17681] Work with an extra field of gzip and zip files

2021-05-05 Thread Benjamin Sergeant
Benjamin Sergeant added the comment: There is a comment field too which would be nice to support. The Go gzip module has a Header class that describe all the metadata. I see in 3.8 mtime was made configurable, so hopefully we can add comment and extra. https://golang.org/pkg/compress/gzip/#H

[issue17681] Work with an extra field of gzip and zip files

2021-04-22 Thread Alex Mijalis
Alex Mijalis added the comment: Agreed, it would be really nice to integrate these changes. These special fields are found in gzipped .bam files, a common DNA sequence alignment format used in the bioinformatics community. It would be nice to be able to read and write them with the standard

[issue17681] Work with an extra field of gzip and zip files

2020-04-02 Thread Jason Williams
Jason Williams added the comment: What's needed to get this integrated? It will be great to not have to fork the GZIP. -- nosy: +Jason Williams ___ Python tracker ___ __

[issue17681] Work with an extra field of gzip and zip files

2018-07-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue17681] Work with an extra field of gzip and zip files

2014-01-23 Thread Nikolaus Rath
Changes by Nikolaus Rath : -- nosy: +nikolaus.rath ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue17681] Work with an extra field of gzip and zip files

2013-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Some examples: >>> import zipfile >>> z = zipfile.ZipFile('README.zip') >>> z.filelist[0].extra b'UT\x05\x00\x03\xe0\xc3\x87Rux\x0b\x00\x01\x04\xe8\x03\x00\x00\x04\xe8\x03\x00\x00' >>> z.filelist[0].extra_map >>> list(z.filelist[0].extra_map.items()) [(21589,

[issue17681] Work with an extra field of gzip and zip files

2013-11-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file32655/README.dz ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17681] Work with an extra field of gzip and zip files

2013-11-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file32656/README.zip ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17681] Work with an extra field of gzip and zip files

2013-11-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file32654/zipfile_extra.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue17681] Work with an extra field of gzip and zip files

2013-11-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file30411/gzip_extra.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue17681] Work with an extra field of gzip and zip files

2013-11-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file32653/gzip_extra.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17681] Work with an extra field of gzip and zip files

2013-11-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file30412/zip_extra.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue17681] Work with an extra field of gzip and zip files

2013-05-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have an almost ready patch but I doubt about interface. It can be discussed. ZIP file entries have similar extra field and I'm planning to add similar feature to the zipfile module too. Here are preliminary patches. -- keywords: +patch title: Work

[issue17681] Work with an extra field of gzip and zip files

2013-05-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file30412/zip_extra.diff ___ Python tracker ___ ___ Python-bugs-list mailing