| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.10.0...v2.10.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
|\
| |
| | |
DOC: Fixes duplication of toctree content (Closes #17077)
|
|/ |
|
|
|
|
|
| |
* ENH: Add file like support to np.core.records.fromfile (#2504)
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|\
| |
| | |
DOC: Fix types including curly braces
|
| | |
|
|\ \
| | |
| | | |
MAINT: Simplify scalar power
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The volatile statement was designed to prevent reordering of
floating point error checks, however, this was more generally
fixed in gh-11036, thus removing the need for the volatile
declaration (and bringing the code in line with the rest of
the file).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This consolidates the multiple copies of almost identical scalar power
code. It fixes the insignificant fact, that integers were doing some
floating point flag handling, even though our scalar power does not
use that.
The previous code special cased powers of 0, but the C-function seems
to handle it just fine.
|
|\ \ \
| | | |
| | | | |
MAINT: Bump hypothesis from 5.23.9 to 5.23.12
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.23.9 to 5.23.12.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.23.9...hypothesis-python-5.23.12)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As explained in NEP 32, the financial functions are to be removed
from version 1.20.
They are now replaced with module level `__getattr__` to give a useful
error message for those surprised by the `AttributeError`.
This only works for Python 3.7+, but it is expected that by the 1.20 release
Python 3.6 will not be supported.
|
| | | |
| | | |
| | | | |
Delete unused _EXTRAFLAGS variable throughout file
|
| | | |
| | | |
| | | |
| | | | |
* BUG, API: Raise error on complex input to np.i0
|
| | | |
| | | |
| | | | |
compare already returns sets, so conversion is redundant
|
| | | |
| | | |
| | | |
| | | |
| | | | |
See #17012 item 15
Co-authored-by: Jakob <jakobjakobson13@posteo.de>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
numpy/distutils/misc_util.py (gh-#17051)
see #17012 item 13
Co-authored-by: Jakob <jakobjakobson13@posteo.de>
|
| | | |
| | | |
| | | | |
see gh-17012 item 12
|
| | | |
| | | |
| | | | |
Closes gh-17045
|
|\ \ \ \
| | | | |
| | | | | |
STY: core._internal style fixups
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
* removed redundant parenthesis
* use f-strings
* use dict.items in _makenames_list
|
|\ \ \ \
| | | | |
| | | | | |
DOC: Clarify that `np.char` comparison functions always return ndarrays
|
| | | | | |
|
| |/ / / |
|
|/ / /
| | |
| | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
|\ \ \
| | | |
| | | | |
BUG: fix a compile and a test warning
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
DOC: Disclaimer for FFT library
|
|/ /
| |
| |
| |
| |
| | |
Adds sentence to the top of routines.fft.html explaining that scipy.fft
is a more comprehensive collection, per mailing list discussion
(http://numpy-discussion.10968.n7.nabble.com/Add-Chebyshev-cosine-transforms-implemented-via-FFTs-td48373.html#a48382)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* NEP: Updated NEP-35 with keyword-only instruction
Following reviewer's suggestions during the implementation phase,
the `like=` argument is now keyword-only, updating the proposal
accordingly.
* NEP: Changed date of NEP-35 latest update
* NEP: Adjust keyword-only marker position in NEP-35
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously the logic assumed that an index was valid if the size was the same
as the indexed array, rather than the shape. This resulted in an index being
incorrectly allowed if the index was all False, like np.empty((3, 3))[np.full((1, 9),
False)], or incorrectly giving a ValueError about broadcasting if the index
was not all False (like np.empty((3, 3))[np.full((1, 9), True)]). Now these
examples both give IndexError with the usual error message.
Fixes #16997.
|
| |
| |
| | |
Follow up to [this commit](https://github.com/numpy/numpy/commit/36f71788620bb17d123669cf03f086fb2b87b3a8), which missed the second pronoun in this sentence.
|
| |
| |
| | |
Really this only ensures MemoryErrors propagate, nothing else can go wrong here.
|
| |
| |
| |
| |
| |
| | |
The docstring now says what to expect if you call
intersect1d(assume_unique=True) but pass in non-unique data.
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |
| |
| | |
* Create copy of numpy.pxd for Cython 3.0 changes and improve it.
|
|/
|
| |
Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
|
|
|
|
|
|
| |
Fixup exception chaining and more detailed exception message
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added a benchmark for `trim_zeros()`
* Improve the performance of `np.trim_zeros()`
* Increase the variety of the tests
Fall back to the old `np.trim_zeros()` implementation if an exception is encountered.
Emit a `DeprecationWarning` in such case.
* DEP,REL: Added a deprecation release note
|
|\
| |
| | |
MAINT: Bump pytest from 5.4.3 to 6.0.1
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.3 to 6.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.4.3...6.0.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
|\ \
| |/
|/| |
MAINT: Explicitly disallow object user dtypes
|
| |
| |
| |
| |
| | |
These never worked to the best of my knowledge, so disable
it explicitly to hopefully simplify cleanup in other parts.
|
|\ \
| | |
| | | |
MAINT: Bump hypothesis from 5.23.2 to 5.23.9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.23.2 to 5.23.9.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.23.2...hypothesis-python-5.23.9)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Set readonly flags in array interface dict and array struct
capsule returned by an array with warn_on_write flag set
instead of producing a deprecation warning.
Closes #16335
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* DOC: Add correctness vs strictness consideration for np.dtype
* MAINT: Update numpy/typing/__init__.py
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* MAINT: Update numpy/typing/__init__.py
Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
* MAINT: Change type to static type to differentiate from type objects
* MAINT: Revert static type change
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
|
|\ \
| | |
| | | |
BLD: pin setuptools<49.2.0
|
|/ / |
|
|\ \
| | |
| | | |
MAINT: Configure hypothesis in ``np.test()`` for determinism, use of global tmpdir
|
| | | |
|