Closed mmckerns closed 8 months ago
Apparently, derived classes of random.Random
look for the existence of certain methods, and if they exist randrange
has different behavior (due to _randombelow
). Overwriting _randombelow
restores the intended behavior.
Summary
changes to
random.randrange
causes failures toconstraints.unique
when a float is passed. Also, behavior has deviated from the examples in the code documentation.Checklist
Documentation and Tests
python tests/__main__.py
, and pass.Release Management