summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Bump pytest from 5.3.1 to 5.3.2dependabot/pip/pytest-5.3.2dependabot-preview[bot]2019-12-161-1/+1
| | | | | | | | Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.1 to 5.3.2. - [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.3.1...5.3.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #15115 from WarrenWeckesser/testcleanupCharles Harris2019-12-153-3/+0
|\ | | | | MAINT: random: Remove a few unused imports from test files.
| * MAINT: random: Remove a few unused imports from test files.Warren Weckesser2019-12-153-3/+0
|/
* Merge pull request #15069 from pv/blas-ilp64Charles Harris2019-12-1518-212/+287
|\ | | | | ENH: add support for ILP64 OpenBLAS (without symbol suffix)
| * DOC: explain NPY_*_ILP64_ORDER default valuesPauli Virtanen2019-12-141-1/+1
| |
| * DOC: adjust ILP64 openblas release notePauli Virtanen2019-12-141-4/+3
| |
| * DOC: site.cfg: add note about 64-bit openblas library namesPauli Virtanen2019-12-141-0/+4
| |
| * BUG: core: use blas_ilp64 also for *_matmul, *_dot, and *_vdotPauli Virtanen2019-12-144-38/+53
| | | | | | | | Changing these to support ILP64 blas was missed in gh-15012
| * DOC: document 64-bit BLAS/LAPACK build-time variablesPauli Virtanen2019-12-141-13/+27
| |
| * ENH: update BLAS symbol suffix/prefix handling in cblasfuncs & linalgPauli Virtanen2019-12-148-107/+45
| | | | | | | | Revise the BLAS name mangling to support the general scheme.
| * ENH: distutils: add support for ILP64 OpenBLAS (generic symbol suffix)Pauli Virtanen2019-12-144-50/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generalize the ILP64 BLAS/LAPACK symbol name handling to deal with arbitrary prefix/suffix. The build-time behavior is changed so that HAVE_BLAS_ILP64 and BLAS_SYMBOL_SUFFIX/PREFIX defines are added to compile options as appropriate. Mainly to make autodetection of BLAS/LAPACK easier for downstream numpy.distutils users, add get_info aliases 'blas_ilp64_opt', 'blas_ilp64_plain_opt', and 'blas64__opt' for any/no/""&"64_" prefix&suffix, and the same for lapack. (Due to the way system_info works, each also gets a separate class.) In addition to openblas64_ which has a fixed suffix, add the (by default suffixless) openblas_ilp64, which correspond to the most likely cases to be present.
* | Merge pull request #15106 from pv/f2py-f2cmapCharles Harris2019-12-156-19/+125
|\ \ | |/ |/| ENH: f2py: add --f2cmap option for specifying the name of .f2py_f2cmap
| * DOC: add release note for f2py --f2cmapPauli Virtanen2019-12-141-0/+4
| |
| * TST: f2py: fix race condition in f2py test _get_compiler_statusPauli Virtanen2019-12-141-3/+9
| | | | | | | | | | | | Distutils code needs to run in different temporary directories, probably because they create `_configtest.c` files for compiler detection in the current directory.
| * ENH: f2py: add --f2cmap option for specifying the name of .f2py_f2cmapPauli Virtanen2019-12-145-19/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously, f2py loaded the type mappings from a file ``.f2py_f2cmap`` in current directory, at import time. Make the file name customizable by adding a ``--f2cmap`` command line option, and postpone loading the file to f2py.run_main(). Moreover, restore the default type mapping in f2py.run_main() before loading the customizations, so that multiple calls to f2py.run_main() do not interfere with each other. (For example, numpy.distutils calls f2py multiple times in the same process.)
| * DOC: f2py: copy documentation for .f2cmap file from old f2py FAQPauli Virtanen2019-12-141-0/+49
|/
* DOC: bring the out parameter docstring into line with ufuncs (#15097)Matti Picus2019-12-141-7/+17
|
* ENH: Add support to sort timedelta64 `NaT` to end of the array (gh-15068)Tirth Patel2019-12-113-15/+36
| | | | | | This work is a follow up of gh-12658. As requested in gh-15063, add NaT sort support for timedelta64 datatypes also. Fixes gh-15063
* BUG: pickle the content of a scalar containing objects, not the address ↵Matti Picus2019-12-113-4/+51
| | | | | | | (gh-14940) Scalars with a void dtype that contains objects were not pickled properly. Add a test and fix by checking the NPY_LIST_PICKLE flag of the dtype. Fixes gh-13593
* Merge pull request #15082 from mattip/pytest5Sebastian Berg2019-12-111-0/+1
|\ | | | | TST: add value to pytest.ini for pytest6 compatibility
| * TST: add value to pytest.ini for pytest6 compatibilitymattip2019-12-101-0/+1
| |
* | Merge pull request #14981 from seberg/issue-13103Matti Picus2019-12-114-22/+41
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c088383cb290ca064d456e89d79177a0e234cb8d and uses the same kind casting rule for the additional keyword arguments ``to_end`` and ``to_begin``. This results in slightly more leniant behaviour for integers (which can now have overflows that are hidden), but fixes an issue with the handling of NaN. Generally, this behaviour seems more conistent with what NumPy does elsewhere. The Overflow issue exists similar in many other places and should be solved by integer overflow warning machinery while the actual cast takes place. Closes gh-13103
| * | BUG: Make ``ediff1d`` kwarg casting consistentSebastian Berg2019-11-254-22/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c088383cb290ca064d456e89d79177a0e234cb8d and uses the same kind casting rule for the additional keyword arguments ``to_end`` and ``to_begin``. This results in slightly more leniant behaviour for integers (which can now have overflows that are hidden), but fixes an issue with the handling of NaN. Generally, this behaviour seems more conistent with what NumPy does elsewhere. The Overflow issue exists similar in many other places and should be solved by integer overflow warning machinery while the actual cast takes place. Closes gh-13103
* | | Merge pull request #15035 from mattip/issue-14625Sebastian Berg2019-12-093-2/+43
|\ \ \ | |_|/ |/| | | | | Test, fix for missing end words in fortran subroutines and functions. Fixes gh-14625
| * | MAINT: fixes from reviewmattip2019-12-031-3/+4
| | |
| * | DOC: fix outstanding typo in NumPy versionmattip2019-12-031-1/+1
| | |
| * | BUG: add endfunction, endsubroutine to valid fortran end wordsmattip2019-12-032-1/+41
| | |
* | | Merge pull request #15072 from pv/requires-memory-fixCharles Harris2019-12-081-1/+24
|\ \ \ | | | | | | | | TST: testing: check requires_memory immediately before the test
| * | | TST: testing: check requires_memory immediately before the test + ignore ↵Pauli Virtanen2019-12-081-1/+24
| | | | | | | | | | | | | | | | MemoryErrors
* | | | Merge pull request #15073 from WarrenWeckesser/ufunc-longlineMatti Picus2019-12-081-39/+75
|\ \ \ \ | |/ / / |/| | | MAINT: core: Fix a very long line in the ufunc docstrings.
| * | | MAINT: core: Fix spacing in the expm1 docstring.Warren Weckesser2019-12-081-1/+1
| | | |
| * | | MAINT: core: Fix a very long line in generated ufunc docstrings.Warren Weckesser2019-12-081-38/+74
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Put the $BROADCASTABLE_2 text on its own line, and add a line break in the text. This changes a typical ufunc docstring from this (note the very long line beginning 'The arrays to be subtracted...'): ``` Parameters ---------- x1, x2 : array_like The arrays to be subtracted from each other. If ``x1.shape != x2.shape``, they must be broadcastable to a common shape (which becomes the shape of the output). out : ndarray, None, or tuple of ndarray and None, optional A location into which the result is stored. If provided, it must have ``` to this: ``` Parameters ---------- x1, x2 : array_like The arrays to be subtracted from each other. If ``x1.shape != x2.shape``, they must be broadcastable to a common shape (which becomes the shape of the output). out : ndarray, None, or tuple of ndarray and None, optional A location into which the result is stored. If provided, it must have ```
* | | Merge pull request #15070 from tylerjereddy/NaT_sort_version_bumpCharles Harris2019-12-071-1/+1
|\ \ \ | | | | | | | | DOC: correct version for NaT sort
| * | | DOC: correct version for NaT sortTyler Reddy2019-12-071-1/+1
|/ / / | | | | | | | | | | | | | | | | | | * NaT sorting to the end of arrays was adjusted in NumPy 1.18.0 instead of 1.17.0, so adjust sort() docs accordingly
* | | DOC: clarify documentation for transpose() (gh-15024)Daniel Povey2019-12-061-8/+13
| | | | | | | | | Clarify axes argument and general text of `np.transpose`.
* | | Merge pull request #15066 from numpy/revert-14794-nep-0034-implCharles Harris2019-12-0614-117/+51
|\ \ \ | | | | | | | | Revert "DEP: issue deprecation warning when creating ragged array (NEP 34)"
| * | | Revert "DEP: issue deprecation warning when creating ragged array (NEP 34)"revert-14794-nep-0034-implRalf Gommers2019-12-0614-117/+51
| | | |
* | | | Merge pull request #15043 from charris/Update-HOWTO_RELEASECharles Harris2019-12-061-64/+69
|\ \ \ \ | |/ / / |/| | | DOC: Update HOWTO_RELEASE.rst.txt
| * | | DOC: Update HOWTO_RELEASE.rst.txtCharles Harris2019-12-031-64/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove obsolete bits. - Update Python versions. - Add some blank lines for clarity - Make list markup uniform. [ci skip]
* | | | Merge pull request #15052 from pv/blas64-fixupSebastian Berg2019-12-066-12/+13
|\ \ \ \ | | | | | | | | | | MAINT: follow-up cleanup for blas64 PR
| * | | | BUG: distutils: remove stray debug printPauli Virtanen2019-12-041-1/+0
| | | | |
| * | | | TST: fix up issues in requires_memory decoratorPauli Virtanen2019-12-044-11/+8
| | | | | | | | | | | | | | | | | | | | Fix wrong multiplier for /proc/meminfo, and do style cleanups.
| * | | | DOC: add missing release note for ILP64 OpenBLASPauli Virtanen2019-12-041-0/+5
| | | | |
* | | | | Merge pull request #15054 from san7988/refguide_check_documentationMatti Picus2019-12-061-23/+218
|\ \ \ \ \ | | | | | | | | | | | | DOC: add docstrings to refguide-check
| * | | | | Implemented review feedbacks #14961Sanjeev Kumar2019-12-051-12/+23
| | | | | |
| * | | | | Added documentation in methodsSanjeev Kumar2019-12-051-23/+207
| |/ / / /
* | | | | DOC: Fix statement about norms (#15050)Andreas Klöckner2019-12-051-1/+1
| | | | | | | | | | | | | | | The "0.5-norm" violates the triangle inequality because its unit ball is nonconvex.
* | | | | Merge pull request #15022 from eric-wieser/better-f2py-errorMatti Picus2019-12-054-31/+14
|\ \ \ \ \ | | | | | | | | | | | | ENH: f2py: improve error messages
| * | | | | ENH: Chain exceptions when converting python objects to fortranEric Wieser2019-12-023-28/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that since we now need `npy_3kcompat.h`, we can delete all duplicated lines in this file We preserve the original exception type for compatibility with old code here.
| * | | | | ENH: Show the incorrect type in the fortran error messageEric Wieser2019-12-011-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I just got this error while hacking some scipy internals, and had nowhere near enough information to debug it. This is a little closer to useful.