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.

Author christian.heimes
Recipients Alexandru Ardelean, christian.heimes
Date 2021-10-28.08:46:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635410794.45.0.70779576676.issue45627@roundup.psfhosted.org>
In-reply-to
Content
Ah, OpenWRT. :)

Thanks for you detailed explanation. I kinda agree that it makes sense for small, embedded systems like OpenWRT to reduce the size of binaries. After all storage and memory are precious on these systems.

PEP 644 favors usability over flexibility. 3rd party library developers can now rely on the presence of hashlib features. Before 3.10 they could not be sure that a Python build had certain features.

A downstream patch in OpenWRT makes sense.

By the way, you might be interested in --with-builtin-hashlib-hashes configure flag. It lets you disable builtin modules like _md5 and _sha3. The shared libraries are large. If you disable the builtin blake2 module, then certain features like MAC and tree hashing are not working.
History
Date User Action Args
2021-10-28 08:46:34christian.heimessetrecipients: + christian.heimes, Alexandru Ardelean
2021-10-28 08:46:34christian.heimessetmessageid: <1635410794.45.0.70779576676.issue45627@roundup.psfhosted.org>
2021-10-28 08:46:34christian.heimeslinkissue45627 messages
2021-10-28 08:46:34christian.heimescreate