Christian Heimes <li...@cheimes.de> added the comment:
A sleep(1) call affects exactly one aspect of the program: the state of the PRNG rand(). You re-initialize the process globale RNG in every function call with srand((unsigned) time(&t)). time() has a granularity of one second. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43435> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com