You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/pfmoore'closed_at=<Date2017-09-29.17:37:11.919>created_at=<Date2017-09-29.11:12:16.606>labels= ['3.7', 'type-feature', 'library']
title='zipapp module should support compression'updated_at=<Date2017-09-29.17:37:11.919>user='https://github.com/zmwangx'
Currently (up to 3.7.0a1) archives generated by the zipapp module are uncompressed, which are unnecessarily large for large projects. It's easy to add deflate compression support, and Python loads compressed archives just fine.
I already have a patch available. I'll submit a PR soon.
Activity
zmwangx commentedon Sep 29, 2017
Currently (up to 3.7.0a1) archives generated by the zipapp module are uncompressed, which are unnecessarily large for large projects. It's easy to add deflate compression support, and Python loads compressed archives just fine.
I already have a patch available. I'll submit a PR soon.
pfmoore commentedon Sep 29, 2017
Definitely. The reason it uses uncompressed files is simply an oversight on my part - I hadn't realised the default for zipfile was uncompressed.
pfmoore commentedon Sep 29, 2017
New changeset d87b105 by Paul Moore (Zhiming Wang) in branch 'master':
bpo-31638: Add compression support to zipapp (GH-3819)
d87b105