Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
> You could also use the internal _sha512 module. > It's always present, small, lean and provides a SHA512 > implementation with sufficient performance. I suppose we could do this but it borders on telling folks that we're worried about using our own public APIs, that importing hashlib is bad for them. It shouldn't be that way, hashlib is a collection of hash functions -- it is clear why this import isn't small and fast. It suggests that something is wrong with the implementation. The focus on client code in random seems like the wrong focus. That is just typical of what other clients would do. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36559> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com