[Numpy-discussion] PR 14966: Adding a new argument to np.asfarray

2019-11-22 Thread Joseph Fox-Rabinovitz
Hi, I've submitted PR #14966, which makes a couple of small, backward compatible, changes to the API of `asfarray`: 1. Added `copy` parameter that defaults to `False` 2. Added `None` option to the `dtype` parameter Item #1 is inspired by situations like the one in Stack Overflow question https:/

[Numpy-discussion] Updated numpy.random C-API

2019-11-22 Thread Matti Picus
Hi everyone, We recently officially exposed and documented[0] the C-API side of numpy.random. There are now working examples[3] of using numpy.random from numba[1], cython[2], and cffi[5]. Please try this out before the 1.18 release by installing the latest HEAD version and making sure the