Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
Consider moving seeding from _random.Random.__new__ to _random.Random.__init__. Since random.Random.__init__ doesn't call the super(), the C version never gets called, avoiding the double seeding. But, it still lets _random.Random function as a standalone class. ---------- _______________________________________ 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