New submission from Daniel Chimeno <dan...@chimeno.me>:

While working on project with Python wheels I found myself adding:

````
import shutil
shutil.register_unpack_format('whl', ['.whl'], shutil._unpack_zipfile)

````

Since PEP 427 explicitly says wheels are ZIP-format archive. 
https://www.python.org/dev/peps/pep-0427/

I wonder if it's loable to register the unpack format by default so the 
shutil.unpack_archive() function works without adding it.

----------
components: Library (Lib)
messages: 363341
nosy: dchimeno
priority: normal
severity: normal
status: open
title: Register .whl as a unpack format in shutil unpack
type: enhancement
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39846>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to