Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ENH: Add annotations for `np.testing` | Bas van Beek | 2021-06-06 | 2 | -80/+337 |
| | |||||
* | MAINT: Remove two private functions from `__all__` | Bas van Beek | 2021-06-06 | 4 | -6/+4 |
| | |||||
* | BLD: Add support for *.pyi data-files to `np.testing._private` | Bas van Beek | 2021-06-06 | 1 | -0/+1 |
| | |||||
* | MAINT: Move the `np.testing` annotations to `np.testing._private.utils` | Bas van Beek | 2021-06-06 | 2 | -102/+148 |
| | |||||
* | Merge pull request #19176 from BvB93/notimplemented | Charles Harris | 2021-06-05 | 8 | -104/+101 |
|\ | | | | | REV,BUG: Replace `NotImplemented` with `typing.Any` | ||||
| * | MAINT: Added a missing `sys.version` check | Bas van Beek | 2021-06-05 | 4 | -7/+4 |
| | | |||||
| * | REV,BUG: Replace `NotImplemented` with `typing.Any` | Bas van Beek | 2021-06-05 | 8 | -97/+97 |
|/ | |||||
* | Merge pull request #19170 from seberg/undo-string-promotion-warning | Charles Harris | 2021-06-05 | 7 | -127/+34 |
|\ | | | | | API: Delay string and number promotion deprecation/future warning | ||||
| * | API: Delay string and number promotion deprecation/future warning | Sebastian Berg | 2021-06-04 | 7 | -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_alias | Charles Harris | 2021-06-04 | 2 | -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 Beek | 2021-06-04 | 1 | -4/+11 |
| | | |||||
| * | BUG: Fixe an issue wherein `_GenericAlias` could raise for non-tuple parameters | Bas van Beek | 2021-06-04 | 2 | -1/+7 |
|/ | |||||
* | Merge pull request #19115 from Mukulikaa/misc-fixits | Matti Picus | 2021-05-31 | 1 | -7/+4 |
|\ | | | | | DOC: Misc fixes to `absolute_beginners.html` | ||||
| * | DOC: Changed community link and updated internal link | Mukulika | 2021-05-30 | 1 | -3/+2 |
| | | |||||
| * | DOC: Misc fixes to absolute_beginners.html | Mukulika | 2021-05-27 | 1 | -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_version | Charles Harris | 2021-05-31 | 2 | -0/+11 |
|\ \ | | | | | | | BUG: expose `short_version` as previously in version.py | ||||
| * | | TST fix comment of assert+indentation | Jérôme Kieffer | 2021-05-31 | 1 | -2/+2 |
| | | | |||||
| * | | TST Fix typo | Jérôme Kieffer | 2021-05-31 | 1 | -2/+2 |
| | | | |||||
| * | | TST: fix pylint | Jérôme Kieffer | 2021-05-31 | 1 | -2/+4 |
| | | | |||||
| * | | BUG: re-introduce short-version as it was | Jérôme Kieffer | 2021-05-31 | 2 | -1/+9 |
| | | | |||||
| * | | expose `short_version` as previously in version.py | Jérôme Kieffer | 2021-05-31 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #19139 from numpy/dependabot/pip/hypothesis-6.13.10 | Charles Harris | 2021-05-31 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | MAINT: Bump hypothesis from 6.13.4 to 6.13.10 | ||||
| * | | MAINT: Bump hypothesis from 6.13.4 to 6.13.10 | dependabot[bot] | 2021-05-31 | 1 | -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) | Pax | 2021-05-29 | 1 | -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_show | Ralf Gommers | 2021-05-29 | 1 | -0/+20 |
|\ \ | | | | | | | ENH: SIMD architectures to show_config | ||||
| * | | ENH: SIMD architectures to show_config | Ganesh Kathiresan | 2021-05-28 | 1 | -0/+20 |
| | | | |||||
* | | | Merge pull request #19132 from charris/fix-gitpod-fetch-depth | Charles Harris | 2021-05-29 | 1 | -6/+8 |
|\ \ \ | | | | | | | | | BUG: Use larger fetch depth in gitpod.yml | ||||
| * | | | BUG: Use larger fetch depth in gitpod.yml | Charles Harris | 2021-05-28 | 1 | -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-plugin | Charles Harris | 2021-05-28 | 8 | -34/+96 |
|\ \ \ \ | |/ / / |/| | | | ENH: Add a mypy plugin for inferring the precision of `np.ctypeslib.c_intp` | ||||
| * | | | MAINT: Refactor the `c_intp`-type inferring function | Bas van Beek | 2021-05-25 | 1 | -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 update | Bas van Beek | 2021-05-21 | 1 | -0/+21 |
| | | | | |||||
| * | | | TST: Add typing tests for `np.ctypeslib.c_intp` and its mypy plugin | Bas van Beek | 2021-05-21 | 3 | -3/+13 |
| | | | | |||||
| * | | | ENH: Add a mypy plugin for inferring the precision of `np.ctypeslib.c_intp` | Bas van Beek | 2021-05-21 | 4 | -31/+56 |
| | | | | |||||
* | | | | Merge pull request #19119 from trallard/trallard/patch-gitpod | Charles Harris | 2021-05-28 | 1 | -1/+3 |
|\ \ \ \ | | | | | | | | | | | BUG: Adjust shallow clone in the gitpod container | ||||
| * | | | | BUG: Adjust shallow clone in the gitpod container | Tania Allard | 2021-05-28 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | BUG: Adjust shallow clone in the gitpod container | Tania Allard | 2021-05-27 | 1 | -1/+3 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #19124 from BvB93/poly1d | Charles Harris | 2021-05-28 | 2 | -12/+33 |
|\ \ \ \ | | | | | | | | | | | BUG: Fixed an issue wherein `poly1d.__getitem__` could return scalars of the wrong dtype | ||||
| * | | | | TST: Update the `poly1d.__getitem__` and `__eq__` tests | Bas van Beek | 2021-05-28 | 1 | -5/+26 |
| | | | | | |||||
| * | | | | BUG: Fixed an issue wherein `poly1d.__getitem__` could return scalars of the ↵ | Bas van Beek | 2021-05-28 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | wrong dtype | ||||
* | | | | | Merge pull request #19098 from seiko2plus/issue_19084 | Charles Harris | 2021-05-28 | 20 | -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-time | Sayed Adel | 2021-05-26 | 20 | -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/sty | Charles Harris | 2021-05-28 | 9 | -232/+231 |
|\ \ \ \ \ | |_|/ / / |/| | | | | MAINT: Misc cleaning of `numpy.typing` | ||||
| * | | | | STY: Use the PEP 604 pipe operator over `Optional` and `Union` | Bas van Beek | 2021-05-27 | 4 | -86/+84 |
| | | | | | | | | | | | | | | | | | | | | PEP 604 -- Allow writing union types as X | Y | ||||
| * | | | | STY: Use `GenericAlias` to get rid of string-based literal expressions | Bas van Beek | 2021-05-27 | 3 | -28/+37 |
| | | | | | |||||
| * | | | | STY: Replace all `Any`-based runtime placeholders with `NotImplemented` | Bas van Beek | 2021-05-27 | 3 | -73/+73 |
| | | | | | |||||
| * | | | | MAINT: Unconditionally import from `typing_extensions` while static type ↵ | Bas van Beek | 2021-05-27 | 1 | -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 Beek | 2021-05-27 | 6 | -43/+39 |
| | |/ / | |/| | | | | | | | | | | `typing_extensions` is available | ||||
* | | | | Merge pull request #18759 from pearu/gh-18431-string_from_pyobj | Pearu Peterson | 2021-05-28 | 5 | -59/+252 |
|\ \ \ \ | |/ / / |/| | | | BUG: revise string_from_pyobj/try_pyarr_from_string with respect to malloc and copy. | ||||
| * | | | Minor fixes | Pearu Peterson | 2021-05-26 | 2 | -3/+3 |
| | | | | |||||
| * | | | Update numpy/f2py/rules.py | Pearu Peterson | 2021-05-26 | 1 | -1/+1 |
| | | | | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> |