Dor Dankner added the comment: It does not seem like a feature after you see this issue #27521. The OS was just hardcoded, the same way the compression level was hardcoded. you may say it's a feature too :P
The way I see it, the gzip module should at least work like the original GNU gzip, if not following the RFC (which I believe is even better). Anyways i verified that OS X fills a UNIX OS header, and fixed my code (patch included) :) ---------- Added file: http://bugs.python.org/file43746/gzip_os_header_fix_and_tests_mac_fix.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27525> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com