summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Add annotations for `np.testing`Bas van Beek2021-06-062-80/+337
|
* MAINT: Remove two private functions from `__all__`Bas van Beek2021-06-064-6/+4
|
* BLD: Add support for *.pyi data-files to `np.testing._private`Bas van Beek2021-06-061-0/+1
|
* MAINT: Move the `np.testing` annotations to `np.testing._private.utils`Bas van Beek2021-06-062-102/+148
|
* Merge pull request #19176 from BvB93/notimplementedCharles Harris2021-06-058-104/+101
|\ | | | | REV,BUG: Replace `NotImplemented` with `typing.Any`
| * MAINT: Added a missing `sys.version` checkBas van Beek2021-06-054-7/+4
| |
| * REV,BUG: Replace `NotImplemented` with `typing.Any`Bas van Beek2021-06-058-97/+97
|/
* Merge pull request #19170 from seberg/undo-string-promotion-warningCharles Harris2021-06-057-127/+34
|\ | | | | API: Delay string and number promotion deprecation/future warning
| * API: Delay string and number promotion deprecation/future warningSebastian Berg2021-06-047-127/+34
| | | | | | | | | | | | | | | | | | | | Unfortunately, this seems to cause some pain in pandas at least to circumvent the warning. Delaying may complicate the creation of ufuncs for strings, but otherwise should not be a big problem. We have to make sure that we can reimplement the change quickly though, it is an important change in my opinion.
* | Merge pull request #19172 from BvB93/generic_aliasCharles Harris2021-06-042-5/+18
|\ \ | |/ |/| BUG: Fixed an issue wherein `_GenericAlias` could raise for non-iterable parameters
| * MAINT: Provide more type-safety by replacing `Any` with `object`Bas van Beek2021-06-041-4/+11
| |
| * BUG: Fixe an issue wherein `_GenericAlias` could raise for non-tuple parametersBas van Beek2021-06-042-1/+7
|/
* Merge pull request #19115 from Mukulikaa/misc-fixitsMatti Picus2021-05-311-7/+4
|\ | | | | DOC: Misc fixes to `absolute_beginners.html`
| * DOC: Changed community link and updated internal linkMukulika2021-05-301-3/+2
| |
| * DOC: Misc fixes to absolute_beginners.htmlMukulika2021-05-271-7/+5
| | | | | | | | | | | | | | 1. Added mailing list link 2. Changed SciPy install link to NumPy 3. Removed repetition of install link 4. Added link to doc_conventions.html
* | Merge pull request #19142 from kif/short_versionCharles Harris2021-05-312-0/+11
|\ \ | | | | | | BUG: expose `short_version` as previously in version.py
| * | TST fix comment of assert+indentationJérôme Kieffer2021-05-311-2/+2
| | |
| * | TST Fix typoJérôme Kieffer2021-05-311-2/+2
| | |
| * | TST: fix pylintJérôme Kieffer2021-05-311-2/+4
| | |
| * | BUG: re-introduce short-version as it wasJérôme Kieffer2021-05-312-1/+9
| | |
| * | expose `short_version` as previously in version.pyJérôme Kieffer2021-05-311-0/+1
| | |
* | | Merge pull request #19139 from numpy/dependabot/pip/hypothesis-6.13.10Charles Harris2021-05-311-1/+1
|\ \ \ | |/ / |/| | MAINT: Bump hypothesis from 6.13.4 to 6.13.10
| * | MAINT: Bump hypothesis from 6.13.4 to 6.13.10dependabot[bot]2021-05-311-1/+1
|/ / | | | | | | | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.13.4 to 6.13.10. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.13.4...hypothesis-python-6.13.10) Signed-off-by: dependabot[bot] <support@github.com>
* | DOC: replace np.ma functions' return types with `MaskedArray` (#18964)Pax2021-05-291-11/+77
| | | | | | | | | | | | Relevant issue: #16751 Co-authored-by: paxcodes <13646646+paxcodes@users.noreply.github.com> Co-authored-by: IrinaMaria <28827042+IrinaMaria@users.noreply.github.com>
* | Merge pull request #19130 from ganesh-k13/ENH_18490_CPU_feature_showRalf Gommers2021-05-291-0/+20
|\ \ | | | | | | ENH: SIMD architectures to show_config
| * | ENH: SIMD architectures to show_configGanesh Kathiresan2021-05-281-0/+20
| | |
* | | Merge pull request #19132 from charris/fix-gitpod-fetch-depthCharles Harris2021-05-291-6/+8
|\ \ \ | | | | | | | | BUG: Use larger fetch depth in gitpod.yml
| * | | BUG: Use larger fetch depth in gitpod.ymlCharles Harris2021-05-281-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Change the checkout@v2 fetch-depth parameter to zero, which means everything. We could probably use a smaller number, but a full checkout should only add a minute or two.
* | | | Merge pull request #19062 from BvB93/ctypes-pluginCharles Harris2021-05-288-34/+96
|\ \ \ \ | |/ / / |/| | | ENH: Add a mypy plugin for inferring the precision of `np.ctypeslib.c_intp`
| * | | MAINT: Refactor the `c_intp`-type inferring functionBas van Beek2021-05-251-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | Model it after `np.core._internal._getintp_ctype` Co-Authored-By: Eric Wieser <425260+eric-wieser@users.noreply.github.com>
| * | | REL: Add a release note for the latest mypy plugin updateBas van Beek2021-05-211-0/+21
| | | |
| * | | TST: Add typing tests for `np.ctypeslib.c_intp` and its mypy pluginBas van Beek2021-05-213-3/+13
| | | |
| * | | ENH: Add a mypy plugin for inferring the precision of `np.ctypeslib.c_intp`Bas van Beek2021-05-214-31/+56
| | | |
* | | | Merge pull request #19119 from trallard/trallard/patch-gitpodCharles Harris2021-05-281-1/+3
|\ \ \ \ | | | | | | | | | | BUG: Adjust shallow clone in the gitpod container
| * | | | BUG: Adjust shallow clone in the gitpod containerTania Allard2021-05-281-1/+1
| | | | |
| * | | | BUG: Adjust shallow clone in the gitpod containerTania Allard2021-05-271-1/+3
| | |_|/ | |/| |
* | | | Merge pull request #19124 from BvB93/poly1dCharles Harris2021-05-282-12/+33
|\ \ \ \ | | | | | | | | | | BUG: Fixed an issue wherein `poly1d.__getitem__` could return scalars of the wrong dtype
| * | | | TST: Update the `poly1d.__getitem__` and `__eq__` testsBas van Beek2021-05-281-5/+26
| | | | |
| * | | | BUG: Fixed an issue wherein `poly1d.__getitem__` could return scalars of the ↵Bas van Beek2021-05-281-7/+7
| | | | | | | | | | | | | | | | | | | | wrong dtype
* | | | | Merge pull request #19098 from seiko2plus/issue_19084Charles Harris2021-05-2820-22/+284
|\ \ \ \ \ | |_|_|_|/ |/| | | | BUG, SIMD: Fix detect host/native CPU features on ICC during compile-time
| * | | | BUG, SIMD: Fix detect host/native CPU features on ICC during compile-timeSayed Adel2021-05-2620-22/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike GCC and CLANG, Intel Compiler exposes all supported intrinsics, whether or not the build options for those features are specified. Therefore, we must test #definitions of CPU features when option native/host is enabled via `--cpu-baseline` or through env var `CFLAGS` otherwise the test will be broken and leads to enable all possible features.
* | | | | Merge pull request #19118 from BvB93/styCharles Harris2021-05-289-232/+231
|\ \ \ \ \ | |_|/ / / |/| | | | MAINT: Misc cleaning of `numpy.typing`
| * | | | STY: Use the PEP 604 pipe operator over `Optional` and `Union`Bas van Beek2021-05-274-86/+84
| | | | | | | | | | | | | | | | | | | | PEP 604 -- Allow writing union types as X | Y
| * | | | STY: Use `GenericAlias` to get rid of string-based literal expressionsBas van Beek2021-05-273-28/+37
| | | | |
| * | | | STY: Replace all `Any`-based runtime placeholders with `NotImplemented`Bas van Beek2021-05-273-73/+73
| | | | |
| * | | | MAINT: Unconditionally import from `typing_extensions` while static type ↵Bas van Beek2021-05-271-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | checking `typing_extensions` is a de facto hard dependency of all static type checkers (via its use in typeshed), so we can safely import all >3.7-exclusive types from there without version checking
| * | | | ENH: Add a global constant to `numpy.typing` denoting whether or not ↵Bas van Beek2021-05-276-43/+39
| | |/ / | |/| | | | | | | | | | `typing_extensions` is available
* | | | Merge pull request #18759 from pearu/gh-18431-string_from_pyobjPearu Peterson2021-05-285-59/+252
|\ \ \ \ | |/ / / |/| | | BUG: revise string_from_pyobj/try_pyarr_from_string with respect to malloc and copy.
| * | | Minor fixesPearu Peterson2021-05-262-3/+3
| | | |
| * | | Update numpy/f2py/rules.pyPearu Peterson2021-05-261-1/+1
| | | | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>