[issue30276] import hashlib makes many programs slow

STINNER Victor report at bugs.python.org
Fri May 5 08:51:07 EDT 2017


STINNER Victor added the comment:

> the urandom calls themselves are not slow, but probably the processing in between. Can't that be done on demand on first use?

If the time is spent on loading OpenSSL, maybe you should try to
import hashlib on demand?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30276>
_______________________________________


More information about the Python-bugs-list mailing list