patches/Restricted: allow random.Random

all member of random module are available (because in ZopeGuards, there's a
random.__allow_access_to_unprotected_subobjects__ = 1), SystemRandom class
also is, but Random class was not, even though there should be nothing unsafe
in this.

This is needed if we want to use a random number generator with a fixed seed
to get reproductible results. We could use random.seed module level function
but since this is also used by several things in ERP5 this does not produce
reproductible sequences.
6 jobs for feat/restricted_random in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-TestRunner1

03:42:42

failed ERP5.PerformanceTest-TestRunner1

00:32:31

failed ERP5.UnitTest-TestRunner1

07:40:07

passed ERP5.CodingStyleTest-TestRunner1

02:48:20

failed ERP5.PerformanceTest-TestRunner1

00:32:52

failed ERP5.UnitTest-TestRunner1

07:31:55