Re: [Numpy-discussion] A minor milestone

2018-09-07 Thread Hans Dembinski
> On 7. Sep 2018, at 06:33, Nathaniel Smith wrote: > > Looking at https://pypistats.org/packages/numpy , it appears that > August 24 was the last day when numpy had more Python 2 downloads than > Python 3 downloads (maybe ever?). Good news, it is about time. Just out of curiosity, what happen

Re: [Numpy-discussion] Add pybind11 to docs about writing binding code

2018-08-20 Thread Hans Dembinski
Dear Robert, > On 17. Aug 2018, at 23:44, Robert Kern wrote: > > Even if you don't use the numpy-mimicking parts of the xtensor API, > xtensor-python is a probably a net improvement over pybind11 for > communicating arrays back and forth across the C++/Python boundary. Even if > the rest of y

Re: [Numpy-discussion] Add pybind11 to docs about writing binding code

2018-08-17 Thread Hans Dembinski
Hi Sylvain, > On 16. Aug 2018, at 13:29, Sylvain Corlay wrote: > > Actually, xtensor-python does a lot more in terms of numpy bindings, as it > uses the C APIs of numpy directly for a number of things. > > Plus, the integration into the xtensor expression system lets you do things > such as v

Re: [Numpy-discussion] Add pybind11 to docs about writing binding code

2018-08-16 Thread Hans Dembinski
Hi Sylvain, > On 15. Aug 2018, at 19:38, Sylvain Corlay wrote: > > If `pybind11` is included, it could be interesting to also include `xtensor` > and `xtensor-python`. > > - Xtensor is a C++ dynamic N-d array library that offers numpy-like features > including broadcasting and universal func

Re: [Numpy-discussion] Add pybind11 to docs about writing binding code

2018-08-16 Thread Hans Dembinski
Dear Paul, > On 15. Aug 2018, at 12:50, Pauli Virtanen wrote: > > Please go ahead --- the relevant source file is here: > > https://github.com/numpy/numpy/blob/master/doc/source/user/c-info.python-as-glue.rst > > It also does no mention CFFI either, mostly because the original text > predates

[Numpy-discussion] Add pybind11 to docs about writing binding code

2018-08-15 Thread Hans Dembinski
Dear all, I just joined the numpy mailing list to suggest an enhancement of the docs about writing binding code https://docs.scipy.org/doc/numpy/user/c-info.python-as-glue.html I hope this is the right place to discuss this. S