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.

classification
Title: stdlib - shutil.make_archive - add support for different ZIP compression method
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: giampaolo.rodola, matrixise, owenchia, tarek
Priority: normal Keywords: patch

Created on 2019-05-01 14:36 by owenchia, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
shutil.make_archive.patch owenchia, 2019-05-01 14:36 shutil.make_archive - add support for different ZIP compression method
Pull Requests
URL Status Linked Edit
PR 13447 open python-dev, 2019-05-20 16:26
Messages (2)
msg341201 - (view) Author: Owen Chia (owenchia) * Date: 2019-05-01 14:36
if you just want to use different zip compression method, no need to rewrite entire _make_zipfile function.

e.g.
>>> shutil.make_archive('archive', 'zip_lzma', '/path/to/whatever')
msg342699 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2019-05-17 09:43
Hi @owenchia

Thanks for your contribution!

The project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

CLA: https://www.python.org/psf/contrib/contrib-form/

Could you create a PR on Github with your patch? In your bpo account, do not forget to assign your github account to your bpo account with the right value
 

Thank you
History
Date User Action Args
2022-04-11 14:59:14adminsetgithub: 80951
2019-05-20 16:26:40python-devsetstage: patch review
pull_requests: + pull_request13355
2019-05-17 09:43:35matrixisesetnosy: + matrixise
messages: + msg342699
2019-05-01 14:36:08owenchiacreate