[issue39846] Register .whl as a unpack format in shutil unpack

Dominic Davis-Foster report at bugs.python.org
Wed Jun 30 16:44:45 EDT 2021


Dominic Davis-Foster <dominic at davis-foster.co.uk> added the comment:

I have run into this myself and was surprised unpack_archive didn't support wheels. I would like to see support added, and don't mind doing the work myself.

That said, I can see there being an issue with the number of supported zip-based formats ballooning: Java JARs, Android APKs etc.
However, wheels have a use case for easily extracting them -- that's how they're installed. I can't see a use case for being able to *easily* extract other formats.

If there's no opposition I will start work on a PR.

----------
nosy: +domdfcoding
versions: +Python 3.11 -Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39846>
_______________________________________


More information about the Python-bugs-list mailing list