Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [DOC] np.kron use double backticks for non-refs | Matthias Bussonnier | 2020-12-13 | 1 | -2/+2 |
| | | | | | | Some part of the docstring were between simple backticks which are therefore marked as cross-reference, while I belive the intended role is likely verbatim. | ||||
* | [DOC] Replace verbatim to reference to local parameter | Matthias Bussonnier | 2020-12-13 | 1 | -1/+1 |
| | | | | | | The rest of the docstring and other function tend to have this convention and sphinx – as well as other tools – will be able to infer this actually refers to one of the function parameters. | ||||
* | Merge pull request #17974 from charris/fix-versioneer-dirty | Charles Harris | 2020-12-12 | 1 | -1/+1 |
|\ | | | | | BLD: Fixes for versioneer and setup.py sdist. | ||||
| * | MAINT: Don't include "dirty" in versioneer generated versions. | Charles Harris | 2020-12-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | We patch the LICENSE file for both sdist and wheel releases, making them all "dirty", i.e., containing files that have not been committed. Having "dirty" in the product name is bad marketing and the versioneer tool does not have an option or style that will omit that bit of information, so patch the versioneer files to make that tag an empty string. | ||||
* | | Merge pull request #17906 from fxcoudert/patch-1 | Ralf Gommers | 2020-12-12 | 1 | -1/+1 |
|\ \ | | | | | | | BUG: Fix a MacOS build failure | ||||
| * | | Update gnu.py | FX Coudert | 2020-12-03 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #17955 from Carreau/fix-17944 | Charles Harris | 2020-12-11 | 1 | -7/+7 |
|\ \ \ | | | | | | | | | DOC: Replace {var} in docstrings type annotation with `scalar or None`. | ||||
| * | | | [DOC] Replace {var} in docstrings type annotation with `scalar or None`. | Matthias Bussonnier | 2020-12-07 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | Closes #17944 | ||||
* | | | | Merge pull request #17981 from BvB93/flatiter | Charles Harris | 2020-12-11 | 6 | -33/+56 |
|\ \ \ \ | | | | | | | | | | | ENH: Add proper dtype-support to `np.flatiter` | ||||
| * | | | | STY: Fixed a typo: `ofthe` -> `of the` | Bas van Beek | 2020-12-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses https://github.com/numpy/numpy/pull/17981#discussion_r541018879 Co-Authored-By: Charles Harris <charlesr.harris@gmail.com> | ||||
| * | | | | TST: Updated the `__array__` typing tests | Bas van Beek | 2020-12-11 | 2 | -6/+6 |
| | | | | | |||||
| * | | | | TST: Updated the `np.flatiter` typing tests | Bas van Beek | 2020-12-11 | 2 | -9/+14 |
| | | | | | |||||
| * | | | | ENH: Add dtype-support for `np.flatiter` | Bas van Beek | 2020-12-11 | 1 | -7/+10 |
| | | | | | |||||
| * | | | | ENH: Add dtype-support for the `__array__` protocol | Bas van Beek | 2020-12-11 | 2 | -11/+26 |
| | | | | | |||||
* | | | | | Merge pull request #17968 from BvB93/dtype-typevar | Charles Harris | 2020-12-11 | 3 | -5/+21 |
|\ \ \ \ \ | |/ / / / |/| | | | | ENH: Use more typevars in `np.dtype` | ||||
| * | | | | TST: Add new tests for `dtype` methods | Bas van Beek | 2020-12-09 | 2 | -0/+16 |
| | | | | | |||||
| * | | | | MAINT: Use `dtype[Any]` instead of `dtype` | Bas van Beek | 2020-12-09 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | ENH: Replace `dtype` with the `_DType` typevar | Bas van Beek | 2020-12-09 | 1 | -4/+4 |
| | | | | | |||||
* | | | | | Merge pull request #17782 from Qiyu8/einsum-muladd | Matti Picus | 2020-12-11 | 1 | -101/+82 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | SIMD: Optimize the performance of einsum's submodule multiply by using universal intrinsics | ||||
| * | | | | add guard #ifndef NPY_DISABLE_OPTIMIZATION | Qiyu8 | 2020-11-19 | 1 | -1/+4 |
| | | | | | |||||
| * | | | | optimize the remaining elements using npyv_load_tillz | Qiyu8 | 2020-11-19 | 1 | -19/+8 |
| | | | | | |||||
| * | | | | fix misleading comment | Qiyu8 | 2020-11-16 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Optimize the performance of multiply | Qiyu8 | 2020-11-09 | 1 | -102/+91 |
| | | | | | |||||
* | | | | | BUG, SIMD: Fix direactive check for AVX512BW of intrinsics npyv_tobits_* | Sayed Adel | 2020-12-09 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Merge pull request #17966 from MaiaKaplan/arange_keyword | Sebastian Berg | 2020-12-09 | 1 | -0/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | BUG: Add missing decref to arange | ||||
| * | | | | | Add missing decref to arange, refs 17878 | Maia Kaplan | 2020-12-09 | 1 | -0/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #17795 from BvB93/x-like | Matti Picus | 2020-12-09 | 4 | -28/+33 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | ENH: Add two new `_<X>Like` unions | ||||
| * | | | | | | MAINT: Simplify existing `_<X>Like` annotations | Bas van Beek | 2020-11-17 | 2 | -26/+25 |
| | | | | | | | |||||
| * | | | | | | ENH: Add `_UIntLike` and `_TD64Like` | Bas van Beek | 2020-11-17 | 2 | -1/+5 |
| | | | | | | | |||||
| * | | | | | | ENH: Add `_BoolLike` to the union defining `_IntLike` | Bas van Beek | 2020-11-17 | 1 | -1/+3 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #17956 from charris/version-with-versioneer | Matti Picus | 2020-12-09 | 6 | -5/+557 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | ENH: Use versioneer to manage numpy versions. | ||||
| * | | | | | | | ENH: Use versioneer to manage numpy versions. | Charles Harris | 2020-12-08 | 6 | -5/+557 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new tags look like '1.21.0.dev0+98.gaa0453721f', where '98' is the number of commits since the 1.21.0 branch was started and 'aa0453721f'. The chosen form may be specified in the 'setup.cfg' file. This PR adds two new files 'numpy/_version.py' and 'numpy/version.py'. The latter is kept because it is part of the public API and is actually used by some downstream projects, but it is no longer dynamically created. See https://github.com/python-versioneer/python-versioneer/ for more information. | ||||
* | | | | | | | | Merge pull request #17789 from seiko2plus/npyv_new_intrinsic_pk0 | Matti Picus | 2020-12-09 | 14 | -40/+446 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | ENH, SIMD: Add new NPYV intrinsics pack(0) | ||||
| * | | | | | | | | BLD, SIMD: Add check for inline ASM VSX support | Sayed Adel | 2020-11-17 | 2 | -1/+37 |
| | | | | | | | | | |||||
| * | | | | | | | | ENH, SIMD: Add new NPYV intrinsics pack(0) | Sayed Adel | 2020-11-17 | 12 | -39/+409 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add bitfield conversion for boolean vectors - add reverse elements of each 64-bit lane - add testing cases | ||||
* | | | | | | | | | Merge pull request #17950 from Brunochris13/master | Charles Harris | 2020-12-08 | 1 | -1/+1 |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | BUG: Removed empty String from Nag Compiler's Flags | ||||
| * | | | | | | | | | BUG: Removed empty String from Nag Compiler's Flags | Christos Efstathiou | 2020-12-07 | 1 | -1/+1 |
| | | | | | | | | | | |||||
* | | | | | | | | | | TST: Do not disable errors globally in ma/timer_comparison.py | Sebastian Berg | 2020-12-08 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This script is meant to be run stand-alone (and should probably just not be at this place), but moving these down is cleaner in any case. The issue is that our "public API" tests import the module and then modify the global state. | ||||
* | | | | | | | | | | TST: Ensure `like=` tests are not sensitive to execution order | Sebastian Berg | 2020-12-08 | 1 | -37/+35 |
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves class creation into a `setup` function and uses `self` instead of the test class all over. There are probably nicer ways to fix (and improve) it, but this seemed nice minimal. | ||||
* | | | | | | | | | TST: Fix crosstalk issues with polynomial str tests. | Ross Barnowski | 2020-12-07 | 1 | -5/+8 |
| |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Polynomial printing tests implicitly depended on calling order, causing the test suite to fail when the test ordering was randomized with the pytest-random plugin (gh-17954). Two factors contributed to this: * Improper setting of class-level test config and * Poorly designed test that overrode an inherited class variable. | ||||
* | | | | | | | | BUG: numpy.putmask not respecting writeable flag (#17884) | a-elhag | 2020-12-07 | 2 | -0/+11 |
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * BUG: numpy.putmask not respecting writeable flag * Made the code PEP8 compatible. Fixes gh-17871. | ||||
* | | | | | | | [DOC]: Wrong length for underline in docstring. | Matthias Bussonnier | 2020-12-06 | 1 | -1/+1 |
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | This can trip-up doc parsers like Numpydoc | ||||
* | | | | | | TST: Fixed an issue where the typing tests would fail for comparison operations | Bas van Beek | 2020-12-05 | 1 | -36/+36 |
| | | | | | | |||||
* | | | | | | Merge pull request #17719 from BvB93/ndarray | Charles Harris | 2020-12-05 | 5 | -269/+275 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | ENH: Make `ndarray` generic w.r.t. its shape and dtype | ||||
| * | | | | | | TST: Replace `numpy.ndarray` with `numpy.ndarray[Any, Any]` | Bas van Beek | 2020-11-26 | 4 | -262/+262 |
| | | | | | | | |||||
| * | | | | | | ENH: Make `ndarray` generic w.r.t. its shape and dtype | Bas van Beek | 2020-11-26 | 1 | -7/+13 |
| | | | | | | | |||||
* | | | | | | | DOC: Add a note that one should preferably use `contextlib.nullcontext` | Bas van Beek | 2020-12-05 | 1 | -0/+3 |
| | | | | | | | |||||
* | | | | | | | MAINT: Replace `contextlib_nullcontext` with `contextlib.nullcontext` | Bas van Beek | 2020-12-05 | 4 | -15/+15 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #17907 from cgohlke/patch-1 | Charles Harris | 2020-12-04 | 1 | -1/+1 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | BUG: 'bool' object has no attribute 'ndim' | ||||
| * | | | | | | | Fix AttributeError: 'bool' object has no attribute 'ndim' | Christoph Gohlke | 2020-12-03 | 1 | -1/+1 |
| | | | | | | | |