[Numpy-discussion] locking np.random.Generator in a cython nogil context?

Matti Picus matti.picus at gmail.com
Thu Dec 17 05:01:10 EST 2020


On 12/17/20 11:47 AM, Evgeni Burovski wrote:
> Just as a side note, this is not very prominent in the docs, and I'm
> ready to volunteer to send a doc PR --- I'm only not sure which part
> of the docs, and would appreciate a pointer.

Maybe here

https://numpy.org/devdocs/reference/random/bit_generators/index.html#seeding-and-entropy

which is here in the sources

https://github.com/numpy/numpy/blob/master/doc/source/reference/random/bit_generators/index.rst#seeding-and-entropy


And/or in the SeedSequence docstring documentation

https://numpy.org/devdocs/reference/random/bit_generators/generated/numpy.random.SeedSequence.html#numpy.random.SeedSequence

which is here in the sources

https://github.com/numpy/numpy/blob/master/numpy/random/bit_generator.pyx#L255


Matti





More information about the NumPy-Discussion mailing list