New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
_Random.seed() is called twice: first it is called in _Random.__new__(), then it is called in Random.__init__(). By default it reads system enthropy, so it consumes global system resource without need. ---------- components: Extension Modules messages: 394663 nosy: mark.dickinson, rhettinger, serhiy.storchaka priority: normal severity: normal status: open title: _Random.seed() is called twice _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44260> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com