summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Add special-casing for `complexfloating` so that it can take 2 parametersBas van Beek2021-09-182-4/+18
|
* DOC: Add links to the `__class_getitem__` docsBas van Beek2021-09-163-2/+23
|
* TST: Expand the `__class_getitem__` test coverage for python 3.8Bas van Beek2021-09-163-0/+22
|
* TST,DOC: Skip the `__class_getitem__` doctests for python 3.8Bas van Beek2021-09-161-13/+30
|
* MAINT: Make `__class_getitem__` available to all python version and perform ↵Bas van Beek2021-09-167-99/+196
| | | | | | basic validation of its input arguments It will still raise on python 3.8, but now with a more explicit exception message
* MAINT: Directly use `np.ndarray.__class_getitem__` for the definition of ↵Bas van Beek2021-09-151-4/+1
| | | | `npt.NDArray`
* DOC: Add a release note for `__class_getitem__`Bas van Beek2021-09-151-0/+15
|
* ENH: Add `dtype.__class_getitem__`Bas van Beek2021-09-154-7/+64
|
* ENH: Add `number.__class_getitem__`Bas van Beek2021-09-154-0/+129
|
* ENH: Add `ndarray.__class_getitem__`Bas van Beek2021-09-154-3/+67
|
* Merge pull request #19869 from mhvk/median_scalar_nanCharles Harris2021-09-144-25/+32
|\ | | | | BUG: ensure np.median does not drop subclass for NaN result.
| * MAINT: Improve ``_median_nancheck`` docstring.Charles Harris2021-09-141-1/+1
| |
| * MAINT: remove unused argument in private functionMarten van Kerkwijk2021-09-143-16/+15
| |
| * BUG: ensure np.median does not drop subclass for NaN result.Marten van Kerkwijk2021-09-142-8/+16
| | | | | | | | | | | | | | | | Currently, np.median is almost completely safe for subclasses, except if the result is NaN. In that case, it assumes the result is a scalar and substitutes a NaN with the right dtype. This PR fixes that, since subclasses like astropy's Quantity generally use array scalars to preserve subclass information such as the unit.
* | Merge pull request #19874 from ndunnewind/fix-typo-upcoming-changes-filenameCharles Harris2021-09-141-0/+0
|\ \ | |/ |/| DOC: Fix typo in upcoming changes filename
| * DOC: Fix typo in upcoming changes filenameNiels Dunnewind2021-09-141-0/+0
|/
* Merge pull request #19863 from BvB93/nanquantileCharles Harris2021-09-132-80/+117
|\ | | | | BUG: Fix `nanpercentile` ignoring the dtype of all-nan arrays
| * MAINT: Make parameters match label.Charles Harris2021-09-131-1/+1
| |
| * TST: Fix a couple of `pytest` id labelsBas van Beek2021-09-131-3/+3
| | | | | | | | Co-Authored-By: Charles Harris <charlesr.harris@gmail.com>
| * TST: Expand/rewrite the `test_allnans` testsBas van Beek2021-09-111-79/+115
| | | | | | | | Parametrize w.r.t. the axis, array dimensionality and dtype
| * BUG: Fixed an issue wherein `nanpercentile` and `nanquantile` would ignore ↵Bas van Beek2021-09-111-1/+2
| | | | | | | | the dtype for all-nan arrays
* | Merge pull request #19870 from seberg/fixups-release-walkthroughCharles Harris2021-09-131-3/+3
|\ \ | | | | | | DOC: Small fixups for the release walkthrough
| * | BUG: Fix use of ``*.md``.Charles Harris2021-09-131-1/+1
| | |
| * | DOC: Small fixups for the release walkthroughSebastian Berg2021-09-131-2/+2
|/ / | | | | | | Silence CI failures due to small rst issues.
* | Merge pull request #19868 from numpy/dependabot/pip/sphinx-4.2.0Charles Harris2021-09-131-1/+1
|\ \ | | | | | | MAINT: Bump sphinx from 4.1.2 to 4.2.0
| * | MAINT: Bump sphinx from 4.1.2 to 4.2.0dependabot/pip/sphinx-4.2.0dependabot[bot]2021-09-131-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.1.2 to 4.2.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.1.2...v4.2.0) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #19867 from numpy/dependabot/pip/hypothesis-6.21.1Charles Harris2021-09-131-1/+1
|\ \ | | | | | | MAINT: Bump hypothesis from 6.18.0 to 6.21.1
| * | MAINT: Bump hypothesis from 6.18.0 to 6.21.1dependabot/pip/hypothesis-6.21.1dependabot[bot]2021-09-131-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.18.0 to 6.21.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.18.0...hypothesis-python-6.21.1) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #19862 from charris/add-branch-walkthroughCharles Harris2021-09-131-0/+77
|\ \ | | | | | | DOC: Add BRANCH_WALKTHROUGH
| * | DOC: Add BRANCH_WALKTHROUGHCharles Harris2021-09-101-0/+77
| | | | | | | | | | | | | | | | | | | | | Add a walkthrough for making a new maintenance branch, command by command. [skip ci]
* | | Merge pull request #19864 from charris/update-release-walkthroughCharles Harris2021-09-131-101/+105
|\ \ \ | |_|/ |/| | DOC: Update RELEASE_WALKTHROUGH
| * | DOC: Update RELEASE_WALKTHROUGHCharles Harris2021-09-111-101/+105
| | | | | | | | | | | | | | | | | | Update RELEASE_WALKTHROUGH to account for the use of versioneer. [skip ci]
* | | Merge pull request #19849 from sayantikabanik/mainMelissa Weber Mendonça2021-09-1024-25/+25
|\ \ \ | |_|/ |/| | Sentence casing implemented for page titles [fix for mixed capitalisation issue]
| * | Required changes made for the sentence case implementationSayantika Banik2021-09-084-4/+4
| | |
| * | Merge branch 'numpy:main' into mainSayantika Banik2021-09-081-1/+1
| |\ \
| * \ \ Merge branch 'main' of https://github.com/sayantikabanik/numpySayantika Banik2021-09-08116-371/+1182
| |\ \ \
| * | | | Mix capitalization fix for page titles [sentence case implementation]Sayantika Banik2021-09-0827-29/+29
| | | | |
* | | | | Merge pull request #19854 from BvB93/nanfunctionsCharles Harris2021-09-092-13/+20
|\ \ \ \ \ | | | | | | | | | | | | BUG: Fixed an issue wherein `var` would raise for 0d object arrays
| * | | | | TST: Expand `TestNanFunctions_NumberTypes` with 0d arraysBas van Beek2021-09-091-12/+17
| | | | | |
| * | | | | BUG: Fixed an issue wherein `var` would raise for 0d object arraysBas van Beek2021-09-091-1/+3
| | | | | |
* | | | | | Merge pull request #19856 from BvB93/ufunc-subclassCharles Harris2021-09-091-7/+10
|\ \ \ \ \ \ | |/ / / / / |/| | | | | MAINT: Mark type-check-only ufunc subclasses as ufunc aliases during runtime
| * | | | | MAINT: Mark type-check-only ufunc subclasses as ufunc aliases during runtimeBas van Beek2021-09-091-7/+10
|/ / / / /
* | | | | Merge pull request #19827 from charris/cleanup-header-guards-commonCharles Harris2021-09-0825-72/+81
|\ \ \ \ \ | | | | | | | | | | | | MAINT: Standardize guards in numpy/core/src/common.
| * | | | | MAINT: Standardize guards in numpy/core/src/common.Charles Harris2021-09-0525-72/+81
| | | | | |
* | | | | | Merge pull request #19826 from charris/cleanup-header-guardsCharles Harris2021-09-0824-75/+89
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Standardize guards in numpy/core/include
| * | | | | | MAINT: Standardize header guards,Charles Harris2021-09-0524-75/+89
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This standardizes the header guards in numpy/core/include/numpy. The standard here is `<path>_<name>_H_` For instance, the file file: numpy/core/include/numpy/arrayobject.h guard: NUMPY_CORE_INCLUDE_NUMPY_ARRAYOBJECT_H_ Macro names can be up to 255 characters, so length is not a problem. This convention comes from the Google code style and keeps files with the same name but different locations from stepping on each other.
* | | | | | Merge pull request #19829 from charris/cleanup-header-guards-multiarrayCharles Harris2021-09-0847-154/+156
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Standardize guards in numpy/core/src/multiarray.
| * | | | | | MAINT: Standardize guards in numpy/core/src/multiarray.Charles Harris2021-09-0547-154/+156
| |/ / / / /
* | | | | | Merge pull request #19846 from charris/update-to-3.10rc2Sebastian Berg2021-09-082-1/+9
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | MAINT: Update testing to 3.10rc2
| * | | | | MAINT: Update testing to 3.10rc2Charles Harris2021-09-072-1/+9
| | |_|_|/ | |/| | |