summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Bump hypothesis from 5.43.3 to 5.43.4dependabot/pip/hypothesis-5.43.4dependabot-preview[bot]2020-12-281-1/+1
| | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.43.3 to 5.43.4. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.43.3...hypothesis-python-5.43.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #18078 from rgommers/fix-neps-buildissuesCharles Harris2020-12-273-7/+16
|\ | | | | Fix build warnings in NEPs
| * DOC: fix build warning for NEP 36Ralf Gommers2020-12-271-1/+1
| |
| * DOC: fix invalid C code in NEP 10Ralf Gommers2020-12-271-3/+7
| |
| * DOC: fix build warnings in NEP 35Ralf Gommers2020-12-271-3/+8
|/
* Merge pull request #18042 from charris/testingCharles Harris2020-12-271-10/+6
|\ | | | | MAINT: Add dist_info to "other" setup.py commands.
| * MAINT: Add dist_info to valid setup.py commands.Charles Harris2020-12-271-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | The follwing changes are made to 'setup.py'. - Add 'dist_info' to the valid 'setup.py' commands. The 'dist_info' command was added to setuptools in 2017 and we were following the unrecognized command path in setup.py which raised a warning. - Add 'version' to the recognized information commands, it came in with the move to versioneer. - Include the arguments passed to 'setup.py' when the unrecognized command warning is raised. This will aid in maintaining the command checks in the future.
* | Merge pull request #18077 from rgommers/nep-28-website-finishedCharles Harris2020-12-271-2/+4
|\ \ | | | | | | NEP: mark NEP 28 on website redesign as final
| * | NEP: mark NEP 28 on website redesign as finalRalf Gommers2020-12-271-2/+4
|/ / | | | | | | [ci skip]
* | Merge pull request #18074 from tylerjereddy/treddy_exprtype_regex_simplifyCharles Harris2020-12-261-3/+3
|\ \ | | | | | | MAINT: exprtype regex simplify
| * | MAINT: exprtype regex simplifyTyler Reddy2020-12-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `determineexprtype_re_1` was modified to remove extraneous character class markers around a single `,` * a similar change was applied for the word metacharacter in `determineexprtype_re_2` and `determineexprtype_re_3` * the third character class in `determineexprtype_re_3` was simplified to remove an escape sequence--by placing the `-` at the start of the character class its metacharacter status can be avoided
* | | Merge pull request #18072 from tylerjereddy/treddy_crackfortran_regex_simplify_1Charles Harris2020-12-261-2/+2
|\ \ \ | |/ / |/| | MAINT: crackfortran regex simplify
| * | MAINT: PR 18072 revisionsTyler Reddy2020-12-261-1/+1
| | | | | | | | | | | | | | | | | | * `name_match` regular expression now starts by matching a letter only, based on reviewer feedback
| * | MAINT: crackfortran regex simplifyTyler Reddy2020-12-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove extraneous character class markers used in `crackline_re_1`: `\w` and `=` on their own have no benefit to character class `[]` inclusion * `name_match` has a character class that can be simplified because `\w` metacharacter already encompasses the digit metacharacter and the underscore
* | | Merge pull request #17587 from seiko2plus/to_npyv_sincos_f32Matti Picus2020-12-2612-297/+278
|\ \ \ | | | | | | | | SIMD: Replace raw SIMD of sin/cos with NPYV(universal intrinsics)
| * | | BENCH: Rename `bench_avx.py` to `bench_ufunc_strides.py`Sayed Adel2020-12-261-7/+9
| | | | | | | | | | | | | | | | | | | | This test should not be exclusive to AVX. this patch also extends unary test to cover different sets of output strides.
| * | | MAINT: Suppress maybe-uninitialized warning in gcc on VSXSayed Adel2020-12-261-0/+10
| | | |
| * | | SIMD: Replace raw SIMD of sin/cos with NPYVSayed Adel2020-12-2610-290/+259
| |/ / | | | | | | | | | | | | | | | The new code improves the performance of non-contiguous memory access for the output array without any reduction in performance. For PPC64LE the performance increased by 2-3.0, and 1.5-2.0 on aarch64.
* | | Merge pull request #18066 from BvB93/typing-testsMatti Picus2020-12-269-437/+511
|\ \ \ | |/ / |/| | TST: Allow mypy output types to be specified via aliases
| * | TST: Use type-aliases for describing `np.number` subclassesBas van Beek2020-12-238-434/+432
| | |
| * | TST: Allow mypy output types to be specified via aliasesBas van Beek2020-12-231-3/+79
| | |
* | | Merge pull request #18067 from rlamy/remove-tp_hash-hackMatti Picus2020-12-242-11/+0
|\ \ \ | | | | | | | | MAINT: Remove obsolete workaround to set ndarray.__hash__ = None
| * | | MAINT: Remove obsolete workaround to set ndarray.__hash__ = NoneRonan Lamy2020-12-242-11/+0
|/ / / | | | | | | | | | | | | | | | In Python 3, a type that sets tp_richcompare but leaves tp_hash null is always unhashable. In Python 2, such types used to inherit tp_hash from their bases.
* | | Merge pull request #18001 from seiko2plus/fix_detect_aarch64_osxCharles Harris2020-12-234-91/+89
|\ \ \ | | | | | | | | BLD, BUG: Fix detecting aarch64 on macOS
| * | | BLD, MAINT: add platform info to the final optimization reportSayed Adel2020-12-201-10/+12
| | | |
| * | | BLD, BUG: Fix detecting aarch64 on macOSSayed Adel2020-12-204-81/+77
| | | | | | | | | | | | | | | | Co-authored-by: h-vetinari <h.vetinari@gmx.com>
* | | | Merge pull request #18052 from seberg/concat-with-string-dtypeCharles Harris2020-12-234-40/+116
|\ \ \ \ | | | | | | | | | | BUG: Fix concatenation when the output is "S" or "U"
| * | | | BUG: Fix concatenation when the output is "S" or "U"Sebastian Berg2020-12-214-40/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the dtype was used, this now assumes that we want to cast to a string of (unknown) length. This is a simplified version of what happens in `np.array()` or `arr.astype()` (it does never inspect the values, e.g. for object casts). This is more complex as I would like, and with the refactor of ResultType and similar can be cleaned up a bit more hopefully. Note that currently, object to "S" or "U" casts simply return length 64 strings, but with the new version, this will be an error (although the error message probably needs improvement). This is a behaviour inherited from other places however.
* | | | | Merge pull request #18012 from Qiyu8/einsum-sumMatti Picus2020-12-231-429/+81
|\ \ \ \ \ | | | | | | | | | | | | SIMD: Optimize the performance of einsum's submodule sum.
| * | | | | simplify the index related code.Qiyu82020-12-231-3/+3
| | | | | |
| * | | | | passing pointer not the address.Qiyu82020-12-231-14/+14
| | | | | |
| * | | | | add missing opt 3 flag.Qiyu82020-12-181-1/+1
| | | | | |
| * | | | | add NPY_GCC_OPT_3 option.Qiyu82020-12-171-3/+3
| | | | | |
| * | | | | Optimize the performance of einsum's submodule sum.Qiyu82020-12-171-426/+78
| | | | | |
* | | | | | Merge pull request #17958 from Qiyu8/countnzMatti Picus2020-12-2313-8/+268
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Optimize the performance of count_nonzero by using universal intrinsics
| * | | | | | Add docstrings to indicate which intrinsics are tested.Qiyu82020-12-231-0/+11
| | | | | | |
| * | | | | | Merge branch 'master' of github.com:numpy/numpy into countnzQiyu82020-12-2346-413/+1444
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #18057 from rgommers/setup-oldpyCharles Harris2020-12-221-5/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | BLD: ensure we give the right error message for old Python versions
| * | | | | | | BLD: ensure we give the right error message for old Python versionsRalf Gommers2020-12-221-5/+10
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, it would give a random syntax error somewhere in `versioneer`.
* | | | | | | Merge pull request #17790 from seiko2plus/npyv_new_intrinsic_pk1Matti Picus2020-12-2221-5/+598
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | ENH, SIMD: Add new NPYV intrinsics pack(1)
| * | | | | | ENH, SIMD: Add new NPYV intrinsics pack(1)Sayed Adel2020-12-2221-5/+598
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add bitwise logical operations for boolean vectors - add round conversion for float vectors - add NAN test for float vectors - add conditional addition and subtraction - add #definition NPY_SIMD_FMA3 to check FUSED native support - add testing cases for all of the above
* | | | | | | Merge pull request #17843 from BvB93/precision-pluginRalf Gommers2020-12-2218-368/+696
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | ENH: Add a mypy plugin for inferring platform-specific `np.number` precisions
| * | | | | | | REL: Added a release noteBas van Beek2020-12-221-0/+22
| | | | | | | |
| * | | | | | | Update mypy_plugin.pyBas van Beek2020-12-221-1/+1
| | | | | | | |
| * | | | | | | DOC: Add a comment about truncating and sub-string matchingBas van Beek2020-12-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Eric Wieser <425260+eric-wieser@users.noreply.github.com>
| * | | | | | | ENH: Add unit support to the `datetime64`/`timedelta64` character codesBas van Beek2020-12-221-6/+66
| | | | | | | |
| * | | | | | | MAINT: Import `mypy` via a try/except approachBas van Beek2020-12-221-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes an issue where the `pypy` tests would fail
| * | | | | | | MAINT,TST: Fixed a failure due platform-dependent precisionsBas van Beek2020-12-221-4/+4
| | | | | | | |
| * | | | | | | TST: Add `numpy.typing.mypy_plugin` to the list of public modulesBas van Beek2020-12-222-0/+3
| | | | | | | |
| * | | | | | | DOC: Add a docstring to the mypy plugin entry-pointBas van Beek2020-12-221-0/+1
| | | | | | | |