summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Bump pytest-cov from 2.10.0 to 2.10.1dependabot/pip/pytest-cov-2.10.1dependabot-preview[bot]2020-08-171-1/+1
| | | | | | | | 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>
* Merge pull request #17078 from melissawm/fix-docs-indexMatti Picus2020-08-141-5/+1
|\ | | | | DOC: Fixes duplication of toctree content (Closes #17077)
| * DOC: Fixes duplication of toctree content (Closes #17077)MelissaWM2020-08-131-5/+1
|/
* ENH: Add support for file like objects to np.core.records.fromfile (#16675)Sidhant Bansal2020-08-133-10/+22
| | | | | * ENH: Add file like support to np.core.records.fromfile (#2504) Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Merge pull request #16886 from takanori-pskq/i13114-3Matti Picus2020-08-135-12/+12
|\ | | | | DOC: Fix types including curly braces
| * DOC: Fix types including curly bracestakanori-pskq2020-08-135-12/+12
| |
* | Merge pull request #17013 from seberg/simplify-scalar-mathMatti Picus2020-08-131-161/+12
|\ \ | | | | | | MAINT: Simplify scalar power
| * | MAINT: Remove volatile and comment from scalar operatorsSebastian Berg2020-08-051-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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).
| * | MAINT: Simplify scalar powerSebastian Berg2020-08-051-152/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #17041 from numpy/dependabot/pip/hypothesis-5.23.12Matti Picus2020-08-131-1/+1
|\ \ \ | | | | | | | | MAINT: Bump hypothesis from 5.23.9 to 5.23.12
| * | | MAINT: Bump hypothesis from 5.23.9 to 5.23.12dependabot/pip/hypothesis-5.23.12dependabot-preview[bot]2020-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | DEP: lib: Remove the deprecated financial functions. (#17067)Warren Weckesser2020-08-1210-1383/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | MAINT: Remove _EXTRAFLAGS variable (#17050)jakobjakobson132020-08-121-10/+3
| | | | | | | | | | | | Delete unused _EXTRAFLAGS variable throughout file
* | | | API, BUG: Raise error on complex input to i0 (#17062)peterbell102020-08-122-15/+17
| | | | | | | | | | | | | | | | * BUG, API: Raise error on complex input to np.i0
* | | | MAINT: Remove obsolete conversion to set (#17063)jakobjakobson132020-08-111-2/+2
| | | | | | | | | | | | compare already returns sets, so conversion is redundant
* | | | MAINT: Replace lambda function by list comprehension (gh-17055)jakobjakobson132020-08-111-2/+1
| | | | | | | | | | | | | | | | | | | | See #17012 item 15 Co-authored-by: Jakob <jakobjakobson13@posteo.de>
* | | | MAINT: change "for line in open()" to "with open() as f: ..." in ↵jakobjakobson132020-08-111-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | numpy/distutils/misc_util.py (gh-#17051) see #17012 item 13 Co-authored-by: Jakob <jakobjakobson13@posteo.de>
* | | | MAINT: Delete obsolete conversion to list (gh-17052)jakobjakobson132020-08-111-1/+1
| | | | | | | | | | | | see gh-17012 item 12
* | | | BUG: fix pickling of arrays larger than 2GiB (gh-17059)stphnlyd2020-08-111-2/+2
| | | | | | | | | | | | Closes gh-17045
* | | | Merge pull request #17048 from danielhrisca/_core._internal_style_refactoringSebastian Berg2020-08-111-18/+16
|\ \ \ \ | | | | | | | | | | STY: core._internal style fixups
| * | | | STY: core._internaldanielhrisca2020-08-111-18/+16
|/ / / / | | | | | | | | | | | | | | | | | | | | * removed redundant parenthesis * use f-strings * use dict.items in _makenames_list
* | | | Merge pull request #17036 from BvB93/char-docMatti Picus2020-08-112-12/+18
|\ \ \ \ | | | | | | | | | | DOC: Clarify that `np.char` comparison functions always return ndarrays
| * | | | TST: Assert that `np.char.compare_chararrays` always returns an ndarrayBas van Beek2020-08-091-0/+6
| | | | |
| * | | | DOC: Clarify that `np.char.compare_chararrays` returns an `ndarray`Bas van Beek2020-08-091-12/+12
| |/ / /
* | | | DOC: Use a less ambiguous example for array_split (#17039)raisinghanii2020-08-101-4/+4
|/ / / | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | | Merge pull request #17033 from mattip/random-pool_sizeCharles Harris2020-08-093-3/+5
|\ \ \ | | | | | | | | BUG: fix a compile and a test warning
| * | | BUG: fix a compile and a test warningmattip2020-08-093-3/+5
| | |/ | |/|
* | | Merge pull request #17028 from bjnath/fft-disclaimerRalf Gommers2020-08-091-0/+3
|\ \ \ | |/ / |/| | DOC: Disclaimer for FFT library
| * | DOC: Disclaimer for FFT libraryBen Nathanson2020-08-091-0/+3
|/ / | | | | | | | | | | 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 (#17009)Peter Andreas Entschev2020-08-071-6/+13
| | | | | | | | | | | | | | | | | | | | | | * 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
* | BUG: Raise correct errors in boolean indexing fast path (gh-17010)Aaron Meurer2020-08-063-11/+70
| | | | | | | | | | | | | | | | | | | | 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.
* | DOC: Fix non-matching pronoun in format.py documentation. (gh-17022)Phoenix Meadowlark2020-08-061-1/+1
| | | | | | Follow up to [this commit](https://github.com/numpy/numpy/commit/36f71788620bb17d123669cf03f086fb2b87b3a8), which missed the second pronoun in this sentence.
* | MAINT: Improve error handling in umathmodule setup (#17014)Eric Wieser2020-08-061-33/+32
| | | | | | Really this only ensures MemoryErrors propagate, nothing else can go wrong here.
* | DOC: Improve intersect1d docstring (#16420)Dima Kogan2020-08-051-1/+3
| | | | | | | | | | | | 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>
* | ENH: Add NumPy declarations to be used by Cython 3.0+ (#16986)scoder2020-08-055-81/+1045
| | | | | | * Create copy of numpy.pxd for Cython 3.0 changes and improve it.
* | DOC: Add note that allclose and isclose do not accept non-numeric types (#16835)Brian Soto2020-08-041-0/+4
|/ | | Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
* MAINT: Chain exception in ``distutils/fcompiler/environment.py``. (#16962)Noman Arshad2020-08-041-1/+4
| | | | | | 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>
* ENH: Speed up trim_zeros (#16911)Bas van Beek2020-08-045-21/+146
| | | | | | | | | | | | | * 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
* Merge pull request #16992 from numpy/dependabot/pip/pytest-6.0.1Charles Harris2020-08-031-1/+1
|\ | | | | MAINT: Bump pytest from 5.4.3 to 6.0.1
| * MAINT: Bump pytest from 5.4.3 to 6.0.1dependabot/pip/pytest-6.0.1dependabot-preview[bot]2020-08-031-1/+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>
* | Merge pull request #16802 from seberg/user-dtypes-no-objectsMatti Picus2020-08-031-0/+8
|\ \ | |/ |/| MAINT: Explicitly disallow object user dtypes
| * MAINT: Explicitly disallow object user dtypesSebastian Berg2020-07-111-0/+8
| | | | | | | | | | These never worked to the best of my knowledge, so disable it explicitly to hopefully simplify cleanup in other parts.
* | Merge pull request #16991 from numpy/dependabot/pip/hypothesis-5.23.9Charles Harris2020-08-031-1/+1
|\ \ | | | | | | MAINT: Bump hypothesis from 5.23.2 to 5.23.9
| * | MAINT: Bump hypothesis from 5.23.2 to 5.23.9dependabot-preview[bot]2020-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* | | BUG: Set readonly flag in array interface instead of warning (gh-16350)Alexander Belopolsky2020-08-033-11/+33
| | | | | | | | | | | | | | | | | | | | | 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 (#16917)Anirudh Subramanian2020-08-031-2/+16
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Merge pull request #16993 from mattip/setuptoolsCharles Harris2020-08-035-6/+6
|\ \ | | | | | | BLD: pin setuptools<49.2.0
| * | BLD: pin setuptools<49.2.0mattip2020-08-035-6/+6
|/ /
* | Merge pull request #16879 from Zac-HD/isolate-hypothesis-configMatti Picus2020-08-022-1/+25
|\ \ | | | | | | MAINT: Configure hypothesis in ``np.test()`` for determinism, use of global tmpdir
| * | Configure hypothesis for np.test()Zac-HD2020-07-232-1/+25
| | |