Bernhard M. Wiedemann added the comment: I'm running openSUSE Tumbleweed with python-2.7.13 and python3-3.6.1 on an Intel Pentium N3530 with linux-4.10.12 There the total time of the "import _hashlib" oneliner varies between 100 and 250 ms (python3 is a bit slower and the machine is slower when running on battery)
the urandom calls themselves are not slow, but probably the processing in between. Can't that be done on demand on first use? This is (one minor part of) slowing down python CLI tools like OpenStack's cinder help ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30276> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com