Christian Heimes <li...@cheimes.de> added the comment:

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.

----------

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

Reply via email to