[Numpy-discussion] Backwards-incompatible improvements to numpy.random.RandomState
Alan G Isaac
alan.isaac at gmail.com
Sun May 24 08:41:18 EDT 2015
I echo Ralf's question.
For those who need replicability, the proposed upgrade path seems quite radical.
Also, I would prefer to have the new functionality introduced beside the existing
implementation of RandomState, with an announcement that RandomState
will change in the next major numpy version number. This will allow everyone
who wants to to change now, without requiring that users attend to minor
numpy version numbers if they want replicability.
I think this is what is required by semantic versioning.
On 5/24/2015 4:59 AM, Ralf Gommers wrote:
> the reasoning on this point is shaky. np.random.seed() is *very* widely used, and works fine for a test suite where each test that needs random
> numbers calls seed(...) and is run with nose. Can you explain why you need to touch the behavior of the global methods in order to make
> RandomState(version=) work?
More information about the NumPy-Discussion