summaryrefslogtreecommitdiff
path: root/doc/neps
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13633 from shoyer/nep-18-subclass-warningCharles Harris2019-05-301-4/+12
|\ | | | | DOC: caution against relying upon NumPy's implementation in subclasses
| * DOC: caution against relying upon NumPy's implementation in subclassesStephan Hoyer2019-05-261-4/+12
| | | | | | | | | | | | | | | | | | | | | | I think this is an important warning to include for subclass authors. Otherwise, we will be expanding our exposure of internal APIs as part of ``__array_function__``. All things being equal, it's great when things "just work" subclasses, but I don't want to guarantee it. In particular, I would be very displeased if ``__array_function__`` leads to NumPy adding more subclass specific hacks like always calling ``mean()`` inside ``median()`` (GH-3846). mhvk: please take a look.
* | Merge pull request #13163 from mattip/randomgenSebastian Berg2019-05-282-5/+5
|\ \ | |/ |/| | | | | ENH: randomgen This merges randomgen into numpy, which was originally developed at https://github.com/bashtage/randomgen and provides a new and improved API for random number generation with much new and improved functionality.
| * merge master into branchmattip2019-05-221-29/+34
| |\
| * | MAINT: Implement API changes for randomgen-derived codemattip2019-05-202-47/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove numpy.random.gen, BRNG.generator, pcg*, rand, randn remove use_mask and Lemire's method, fix benchmarks for PCG removal convert brng to bitgen (in C) and bit_generator (in python) convert base R{NG,andom.*} to BitGenerator, fix last commit randint -> integers, remove rand, randn, random_integers RandomGenerator -> Generator, more "basic RNG" -> BitGenerator random_sample -> random, jump -> jumped, resync with randomgen Remove derived code from entropy Port over changes accepted in upstream to protect log(0.0) where relevant fix doctests for jumped, better document choice Remove Python 2.7 shims Use NPY_INLINE to simplify Fix performance.py to work Renam directory brng to bit_generators Fix examples wiht new directory structure Clarify relationship to historical RandomState Remove references to .generator Rename xoshiro256/512starstar
* | | DOC: note support for NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0Stephan Hoyer2019-05-251-6/+9
| | |
* | | DOC: revert __skip_array_function__ from NEP-18Stephan Hoyer2019-05-251-166/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts most of the changes from GH-13305, and adds a brief discussion of ``__skip_array_function__`` into the "Alternatives" section. We still use NumPy's implementation of the function internally inside ``ndarray.__array_function__``, but I've given it a new name in the NEP (``_implementation``) to indicate that it's a private API.
* | | Merge pull request #13584 from rgommers/roadmap-updateMatti Picus2019-05-241-65/+64
|\ \ \ | |_|/ |/| | DOC: roadmap update
| * | DOC: some more tweaks of roadmap text based on review comments.Ralf Gommers2019-05-221-6/+3
| | | | | | | | | | | | [ci skip]
| * | DOC: roadmap update.Ralf Gommers2019-05-191-64/+66
| | | | | | | | | | | | | | | | | | | | | | | | - Update for changes in the past year - Make top-level headings clearer (interoperability, extensibility, etc) - Give website and documentation its own heading (is important) - Remove typing and array scalars, doesn't belong here - General cleanup, fix ReST formatting, etc.
* | | NEP: update NEP 19 with API terminologymattip2019-05-211-33/+37
| |/ |/|
* | Clarify why we allow subclasses in ndarray.__array_function__Stephan Hoyer2019-05-111-6/+15
| |
* | Rename __numpy_implementation__ -> __skip_array_function__Stephan Hoyer2019-05-101-32/+52
| |
* | Add clarification and fixes per PR discussionStephan Hoyer2019-04-141-21/+84
| |
* | NEP: Update NEP-18 to include the __numpy_implementation__ attribute.Stephan Hoyer2019-04-111-118/+169
|/ | | | | | | | | | | Fix GH12974 This includes two minor changes to NEP-18 that will need to be implemented in NumPy: - The ``__numpy_implementation__`` attribute is documented and officially supported as a way to defer to NumPy's own implementation. - I have noted that dispatcher functions should be given the same name as implementations, which should result in more interprettable error messages.
* NEP: change NEP20 (ufunc signatures) to 'Final'Matti Picus2019-01-111-1/+1
|
* ENH: refactor __array_function__ pure Python implementationStephan Hoyer2018-12-191-8/+8
|
* NEP: move nep 15 from accepted to finalmattip2018-11-131-1/+1
|
* Merge pull request #12362 from shoyer/disable-array-function-by-defaultCharles Harris2018-11-121-0/+9
|\ | | | | MAINT: disable `__array_function__` dispatch unless environment variable set
| * MAINT: disable __array_function__ dispatch unless environment variable setStephan Hoyer2018-11-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Per discussion on the mailing list, __array_function__ isn't quite ready to release as part of NumPy 1.16: https://mail.python.org/pipermail/numpy-discussion/2018-November/078949.html We'd like to improve performance a bit, and it will be easier to support introspection on NumPy functions if we support Python 3 only. So for now, you need to set the environment variable ``NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1`` to enable dispatching.
* | NEP: clarify the purpose of "types" in __array_function__Stephan Hoyer2018-11-101-2/+3
|/ | | | | Per our discussion on the mailing list: https://mail.python.org/pipermail/numpy-discussion/2018-November/078911.html
* Merge pull request #12279 from mattip/nep-0027-finalMatti Picus2018-10-311-3/+4
|\ | | | | NEP: tweak and mark NEP 0027 as final
| * tweak and mark NEP 0027 as finalmattip2018-10-271-3/+4
| |
* | NEP: revise note for NEP 27Stephan Hoyer2018-10-271-7/+9
|/
* NEP: Add "Provisional" status and move nep 18 to provisionalmattip2018-10-164-3/+28
|
* NEP: change toc title sortingmattip2018-10-163-18/+9
|
* Merge pull request #12173 from shoyer/nep-18-update-notesMatti Picus2018-10-161-0/+6
|\ | | | | NEP: add notes about updates to NEP-18
| * MAINT: minor adjustment to nep-18Stephan Hoyer2018-10-151-2/+3
| |
| * NEP: add notes about updates to NEP-18Stephan Hoyer2018-10-141-1/+6
| | | | | | | | As discussion in GH12140
* | Merge pull request #12166 from mattip/nep-16Eric Wieser2018-10-151-0/+251
|\ \ | | | | | | NEP: Add zero-rank arrays historical info NEP
| * | NEP: change changeset to commit for gitmattip2018-10-151-3/+3
| | |
| * | NEP: fixes from reviewmattip2018-10-151-4/+17
| | |
| * | NEP: Add zero-rank arrays historical info NEPmattip2018-10-141-0/+238
| |/
* | Merge pull request #12165 from shoyer/nep-22-acceptMatti Picus2018-10-152-3/+10
|\ \ | | | | | | Mark NEP 22 as accepted, and add "Informational" NEPs to NEP 1
| * | NEP: mention "Informational" NEPs in NEP 0Stephan Hoyer2018-10-131-2/+8
| | | | | | | | | | | | The text is lightly adapted from PEP 1.
| * | NEP: mark NEP-22 as acceptedStephan Hoyer2018-10-131-1/+2
| |/
* | MAINT: fix build for NEP 16Stephan Hoyer2018-10-142-4/+15
| |
* | NEP: mark NEP-16 as withdrawn in favor of a protocolStephan Hoyer2018-10-141-2/+7
| |
* | Add link to first mailing list postNathaniel J. Smith2018-10-141-1/+1
| |
* | New NEP for identifying and coercing duck arraysNathaniel J. Smith2018-10-142-0/+370
|/
* DOC: fixups for NEP-18 based on the implementationStephan Hoyer2018-10-101-28/+25
| | | | | | | The main change is replacing `try_array_function_override` with `array_function_implementation_or_override` (our current implementation). I also fixed a few typos.
* Merge pull request #11596 from rgommers/nep-backcompatCharles Harris2018-09-251-0/+288
|\ | | | | NEP: backwards compatibility and deprecation policy
| * MAINT: address review comment of @shoyer, remove reference to ``legacy_index``.Ralf Gommers2018-07-221-5/+3
| | | | | | | | [ci skip]
| * BLD: fix NEP build issue (title has to have a long dash or build fails)Ralf Gommers2018-07-211-6/+6
| | | | | | | | Also fix some typos.
| * DOC: finish first draft of the backwards compatibility NEP.Ralf Gommers2018-07-211-75/+167
| |
| * DOC: first draft of a backwards compatibility NEP.Ralf Gommers2018-07-211-0/+198
| |
* | DOC: MAINT: address comments @eric-wieser on NEP 24-26 PR. Bump copyright yearRalf Gommers2018-09-222-13/+16
| | | | | | | | [ci skip]
* | NEP: add NEP 26, a summary of missing data discussions and NEPs.Ralf Gommers2018-09-221-0/+727
| | | | | | | | Rescued from a non-linked file under numpy.org
* | NEP: add NEP 25, the second alternative NEP to NEP 12 (missing data)Ralf Gommers2018-09-221-0/+469
| | | | | | | | Rescued from ancient history.
* | DOC: BLD: remove graphviz dependency of neps doc build. Closes gh-11617Ralf Gommers2018-09-225-29/+4
| |