summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Update sphinx requirement from <3.0,>=2.2.0 to >=2.2.0,<4.0dependabot/pip/sphinx-gte-2.2.0-and-lt-4.0dependabot-preview[bot]2020-05-181-1/+1
| | | | | | | | Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v2.2.0...v3.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #16238 from seberg/maint-cached-importsMatti Picus2020-05-185-50/+13
|\ | | | | MAINT: Unify cached (C-level static) imports
| * MAINT: Unify cached (C-level static) importsSebastian Berg2020-05-145-50/+13
| | | | | | | | | | | | | | | | | | | | | | | | The main idea is that once we unify them, we can think about actually being able to also clean them up. This is far away from having no global state, but at this time I do not see that as a seriousl goal personally. But it could be possible to reload the module safely in a single interpreter maybe. The commit adds the cache import for the complex casts, since it doubles performance for small casts when the warning is not suppressed and it unifies the handling.
* | Merge pull request #16274 from eric-wieser/extract-lerpEric Wieser2020-05-171-19/+6
|\ \ | | | | | | MAINT: cleanups to quantile
| * | MAINT: Avoid moving axes around multiple timesEric Wieser2020-05-171-15/+5
| | | | | | | | | | | | It's easier to move the relevant axis to position 0 in `ap` first than it is to move it for every relevant object simultaneously.
| * | MAINT: Remove a pointless ifEric Wieser2020-05-171-4/+1
| | | | | | | | | | | | The `add` ufunc is happy to handle `out=None` by itself
* | | DOC: Clarifications for np.std (#16267)Dmitry Kutlenkov2020-05-171-11/+12
| | | | | | | | | | | | | | | | | | | | | * DOC: Clarifications for np.std * Line lengths fixes in np.std * Swapped variable names in np.std
* | | Merge pull request #16275 from charris/update-after-1.19.x-branchCharles Harris2020-05-1746-316/+479
|\ \ \ | |/ / |/| | REL: Update master after 1.19.x branch.
| * | REL: Update master after 1.19.x branch.Charles Harris2020-05-1746-316/+479
|/ / | | | | | | | | | | | | | | - Delete release note fragments from 1.19.0 (towncrier) - Update 1.19.x release note (towncrier) - Create 1.20.0-notes.rst for master development - Update C-API versions for 1.20.x - Update setup.py for 1.20.0
* | Merge pull request #16269 from tbm/typoMatti Picus2020-05-1719-21/+21
|\ \ | | | | | | DOC: Fix typos and cosmetic issues
| * | DOC: Fix typos and cosmetic issuesMartin Michlmayr2020-05-1719-21/+21
| | |
* | | Merge pull request #16265 from charris/add-download-wheel-toolMatti Picus2020-05-171-0/+79
|\ \ \ | | | | | | | | ENH: Add tool for downloading release wheels from Anaconda.
| * | | ENH: Add tool for downloading release wheels from Anaconda.Charles Harris2020-05-161-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a simplified version of terryfy::wheel-uploader that has two advantages over the original: - It works with Anaconda where our wheels are now stored. - It is simplified to match the NumPY workflow.
* | | | Merge pull request #16263 from seberg/decref-fromarray-error-path-fixupCharles Harris2020-05-161-0/+1
|\ \ \ \ | | | | | | | | | | BUG: Add missing decref in fromarray error path
| * | | | BUG: Add missing decref in fromarray error pathSebastian Berg2020-05-161-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | This function steals the dtype, so it must decref it also on error. This is fixup of ffe76ac8df65c8e7831df9924a782276e060f3e6 which accidentally deleted the decref.
* | | | DOC: Updated the f2py section of the "Using Python as Glue" page. (#16258)Siba Smarak Panigrahi2020-05-161-4/+4
| | | | | | | | | | | | | | | | * Replace print statements with print function calls. * Fix the filename in one of the commands: it is "add.f", not "add.f95".
* | | | BUG: numpy.einsum indexing arrays now accept numpy int type (gh-16080)Ryan2020-05-164-21/+37
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Using PyArray_PyIntAsIntp helper function instead * TST: add tests for einsum numpy int and bool list subscripts Added tests to check that einsum accepts numpy int64 types and rejects bool. Rejecting bools is new behaviour in subscript lists. I changed ValueError to TypeError on line 2496 in multiarraymodule.c as it is more appropriate. I also modified einsumfunc.py to have the same behaviour as in the C file when checking subscript list. (Reject bools but accept anything else from operator.index()) Closes gh-15961
* | | Merge pull request #16197 from timhoffm/doc-stackSebastian Berg2020-05-155-29/+35
|\ \ \ | | | | | | | | DOC: Unify cross-references between array joining methods
| * | | DOC: Unify cross-references between array joining methodsTim Hoffmann2020-05-105-29/+35
| | | |
* | | | Merge pull request #16240 from WarrenWeckesser/ptp-warningMatti Picus2020-05-152-7/+79
|\ \ \ \ | |_|/ / |/| | | DOC: Warn about behavior of ptp with signed integers.
| * | | DOC: Warn about behavior of ptp with signed integers.Warren Weckesser2020-05-152-7/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a warning to the docstrings of numpy.ma.MaskedArray.ptp and numpy.ptp about a problem with signed integer arrays. * Add an example to the the docstring of numpy.ptp that demonstrates the issue and suggests a work-around. * Add an "Examples" section to the docstring of MaskedArray.ptp which includes the new example added to the docstring of numpy.ptp. * Make the numbers in the basic example more interesting.
* | | | BUG: max/min of a masked array dtype fix (gh-15991)Rakesh Vasudevan2020-05-142-5/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for issue gh-15077. ma.core now checks and sets max and min values for all float and complex dtypes. This fixes the max of a masked array with a float16 or complex dtype returning inf Builds on top of gh-15086. Co-authored-by: William Jones <william.jones@physics.ox.ac.uk>
* | | | MAINT: Chain exceptions and use NameError in np.bmat (#16215)bartosz-grabowski2020-05-141-2/+2
|/ / / | | | | | | | | | | | | | | | | | | This solution is related to the issue #15986. I also made a change to the newer string formatting. Uses NameError, which prints nicer, and is actually the more correct error type. Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | | Merge pull request #16228 from anirudh2290/compilers_supported_docSebastian Berg2020-05-131-5/+5
|\ \ \ | | | | | | | | DOC: Add Clang and MSVC to supported compilers list
| * | | DOC: Add Clang and MSVC to supported compilers listAnirudh Subramanian2020-05-131-5/+5
| | | |
* | | | Merge pull request #16227 from rossbar/doc/importerror_pydevSebastian Berg2020-05-131-0/+8
|\ \ \ \ | | | | | | | | | | DOC: Add PyDev instructions to troubleshooting doc
| * | | | DOC: Add PyDev instructions to troubleshooting docRoss Barnowski2020-05-131-0/+8
| | | | |
* | | | | DOC: Improve docstring of ``numpy.core.records`` (#16199)dojafrat2020-05-131-2/+52
|/ / / / | | | | | | | | | | | | | | | | | | | | Add documentation and examples to fromstring function See #15853 Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | | | ENH: correct identity for logaddexp2 ufunc: -inf (gh-16102)Erik Welch2020-05-133-1/+11
| |_|/ |/| | | | | | | | | | | | | | | | | | | | The lack of identity for `logaddexp2` was first identitifed in #4599. The implementation in #8955 added -inf as identity for `logaddexp`, but missed adding it for `logaddexp2`. Co-Authored-By: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
* | | Merge pull request #16153 from bashtage/fix-mt19937-jumpCharles Harris2020-05-137-329/+220
|\ \ \ | | | | | | | | BUG: Correct loop order in MT19937 jump
| * | | DOC: Update docstringKevin Sheppard2020-05-121-4/+3
| | | | | | | | | | | | | | | | Fix indent on reference and remove text that may be incorrect.
| * | | DOC: Improve the docstring for MT19937.jumpedKevin Sheppard2020-05-121-0/+18
| | | | | | | | | | | | | | | | Clarify the method used and the source of the code
| * | | MAINT: Remove unused fileKevin Sheppard2020-05-121-215/+0
| | | | | | | | | | | | | | | | Remove unused file containing the old polynomial representation.
| * | | DOC: Add release noteKevin Sheppard2020-05-121-0/+10
| | | | | | | | | | | | | | | | Add note detailing the changes to MT19937 jumped
| * | | REF: Refactor jump codeKevin Sheppard2020-05-124-121/+154
| | | | | | | | | | | | | | | | | | | | | | | | Refactor polynomial to be unsigned long array Remove unused code Fix md5 calculation on BE
| * | | BUG: Correct loop order in MT19937 jumpKevin Sheppard2020-05-123-6/+52
| | | | | | | | | | | | | | | | | | | | | | | | Use the original loop order instead of an inverted order closes #15394
* | | | Merge pull request #16223 from mattip/pxd-fixCharles Harris2020-05-131-1/+1
|\ \ \ \ | | | | | | | | | | BUG: fix signature of PyArray_SearchSorted in __init__.pxd
| * | | | BUG: fix signature of PyArray_SearchSorted in __init__.pxdmattip2020-05-131-1/+1
| |/ / /
* | | | Merge pull request #16226 from bashtage/choice-docsWarren Weckesser2020-05-132-2/+2
|\ \ \ \ | | | | | | | | | | DOC: Fix Generator.choice docstring
| * | | | DOC: Fix Generator.choice docstringKevin Sheppard2020-05-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Remove trailing colon Fix indentation in RandomState choice doc string
* | | | | Merge pull request #16224 from mattip/openblas-hashesCharles Harris2020-05-131-0/+6
|\ \ \ \ \ | |/ / / / |/| | | | ENH: add manylinux1 openblas hashes
| * | | | ENH: add manylinux1 openblas hashesmattip2020-05-131-0/+6
| |/ / /
* | | | DOC: improve development debugging doc (#16083)Chunlin2020-05-132-7/+21
| | | | | | | | | | | | | | | | | | | | * improve development debugging doc Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | | | Merge pull request #16133 from seberg/maint-cast-errorMatti Picus2020-05-1313-148/+89
|\ \ \ \ | |/ / / |/| | | MAINT: Unify casting error creation (outside the iterator)
| * | | MAINT: simplify iterator casting error creationSebastian Berg2020-05-122-31/+22
| | | |
| * | | MAINT: Unify casting error creation (outside the iterator)Sebastian Berg2020-05-0211-117/+67
| | | |
* | | | ENH: Allow pickle with protocol 5 when higher is requested (#16185)jakirkham2020-05-121-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle out-of-band buffers with protocol 5+ Previously we were checking that protocol 5 was matched exactly. However it should be fine if a newer protocol was used as well. So check that at least protocol 5 was used (though newer is fine too). * Drop error for protocol's greater than 5
* | | | Merge pull request #16170 from mattip/cleanup-pxdCharles Harris2020-05-121-111/+104
|\ \ \ \ | | | | | | | | | | ENH: resync numpy/__init__.pxd with upstream
| * | | | restore improperly removed API functionmattip2020-05-121-4/+4
| | | | |
| * | | | ENH: more carefully review 'nogil'mattip2020-05-071-20/+20
| | | | |