STINNER Victor added the comment: > The current behavior (as of 9de508dc4837) is that it will never block on > Linux, but could still block on other OS if called before /dev/urandom is > initialized.
In practice, only Linux is impacted. See the rationale: https://haypo-notes.readthedocs.io/pep_random.html#scope-of-the-python-blocks-at-startup-issue > We have not determined a satisfactory solution for other operating systems. Stoooop. This issue is specific to Linux. If you want to fix the issue on other operating systems, please open a new issue. Oh, you know what? I already opened such issue :-) The issue #27266 wants to fix the issue on all platforms, not only Linux. Open a second issue if you prefer. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26839> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com