<div id="comment:0"></div> According to https://docs.python.org/3/library/random.html, we are missing the following random generators - [choices](https://docs.python.org/3/library/random.html#random.choices) (added in Python 3.6) - [randbytes](https://docs.python.org/3/library/random.html#random.randbytes) (added in Python 3.9) - [triangular](https://docs.python.org/3/library/random.html#random.triangular) As well as the classes to get generators without shared states - [Random class](https://docs.python.org/3/library/random.html#random.Random) - [SystemRandom class](https://docs.python.org/3/library/random.html#random.Random) And the getter/setter - [seed](https://docs.python.org/3/library/random.html#random.seed) - [getstate](https://docs.python.org/3/library/random.html#random.getstate) - [setstate](https://docs.python.org/3/library/random.html#random.setstate) CC: @videlec Component: **misc** _Issue created by migration from https://trac.sagemath.org/ticket/32439_