Re: [Numpy-discussion] Proposal to accept NEP-18, __array_function__ protocol
On Thu, Sep 20, 2018 at 2:05 PM Stephan Hoyer wrote: > I've gone ahead and merged the PR to mark the NEP as accepted. Let's get > started on the fun part of implementation! > > Cheers, > Stephan > I have started implementing NEP-18 in a pull request: https://github.com/numpy/numpy/pull/12005 I propose a multi-step process for implementation: 1. Write a correctly working version of the core __array_function__ machinery in pure Python, adapted from the example implementation in the NEP. 2. Rewrite bottlenecks in C. 3. Implement overrides for various NumPy functions. I think the first step is mostly complete, but I'm particularly looking for help with the second and third steps, which should be able to happen incrementally and in parallel. Cheers, Stephan ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] Proposal to accept NEP 22: Duck typing for NumPy arrays
I think the NEP does a very good job of capturing the high-level issue around duck arrays and will serve as a solid base to build future discussions on. With my Matplotlib and h5py hats on, I like the discussion about how down stream projects need to work out their issues with the support of the NumPy devs. Tom On Thu, Sep 20, 2018 at 9:48 PM Marten van Kerkwijk < m.h.vankerkw...@gmail.com> wrote: > I read the NEP again and think it is a good and useful one (also in > discussing why NEP 16 was not a good idea!). -- Marten > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] Search not working on www.numpy.org/devdocs/search.html
I suspect this is due to issues with sphinx 1.8.0. Matplotlib also has this problem (see https://github.com/matplotlib/matplotlib/pull/12183). Tom On Mon, Sep 17, 2018 at 10:47 AM Matti Picus wrote: > I can enter a search term (say `ndarray`) in > www.numpy.org/devdocs/search.html, but the result is empty. It worked > yesterday. My firefox javascript debug console for the remote search says: > > jQuery.Deferred exception: Search is not defined > @http://www.numpy.org/devdocs/search.html?q=ndarray:34:25 > j@http://www.numpy.org/devdocs/_static/jquery.js:2:29997 > g/http://www.numpy.org/devdocs/_static/jquery.js:2:30313 undefined > > If I build the documentation locally, search emits a different error but > still works: > > XML Parsing Error: not well-formed Location: > file:///.../doc/build/html/searchindex.js Line Number 1, Column 16: > > Searching on scipy.org, for instance > > https://docs.scipy.org/doc/numpy/search.html?q=ndarray&check_keywords=yes&area=default > works with no errors on the console > > Any hints? > Matti > ___ > NumPy-Discussion mailing list > NumPy-Discussion@python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion