Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #17610 from johnthagen/patch-1 | Ralf Gommers | 2020-10-24 | 1 | -1/+1 |
|\ | | | | | MAINT: fully qualify license trove classifier | ||||
| * | Fully qualify license trove classifier | johnthagen | 2020-10-22 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #17624 from eric-wieser/fix-refs | Matti Picus | 2020-10-24 | 4 | -13/+12 |
|\ \ | | | | | | | DOC: Tidy up references to str_ / bytes_ | ||||
| * | | DOC: Tidy up references to str_ / bytes_ | Eric Wieser | 2020-10-24 | 4 | -13/+12 |
|/ / | | | | | | | | | | | | | | | This: * Fixes some broken references * Cleans up some use of Python 2 aliases: * Switches references to `np.string_` to describe `np.bytes_` instead * Switches references to `np.unicode_` to describe `np.str_` instead | ||||
* | | Merge pull request #17619 from takanori-pskq/i13114-fix-misc | Matti Picus | 2020-10-24 | 13 | -32/+38 |
|\ \ | | | | | | | DOC: Fix some references | ||||
| * | | DOC: Fixup for ``PyUFunc_*`` | takanori-pskq | 2020-10-24 | 1 | -1/+3 |
| | | | |||||
| * | | Update doc/source/reference/random/c-api.rst | Takanori H | 2020-10-24 | 1 | -2/+1 |
| | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | | Update doc/source/user/basics.rec.rst | Takanori H | 2020-10-24 | 1 | -1/+1 |
| | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | | DOC: Fixup for PR #17614 | takanori-pskq | 2020-10-24 | 1 | -1/+1 |
| | | | |||||
| * | | DOC: Fix some references | takanori-pskq | 2020-10-24 | 12 | -30/+35 |
|/ / | |||||
* | | Merge pull request #17614 from takanori-pskq/i13114-arrays-interface | Matti Picus | 2020-10-23 | 1 | -14/+14 |
|\ \ | | | | | | | DOC: Fix the document for arrays interface | ||||
| * | | DOC: Fix the document for arrays interface | takanori-pskq | 2020-10-23 | 1 | -14/+14 |
|/ / | |||||
* | | Merge pull request #17607 from mitchnegus/mn_licensefix | Sebastian Berg | 2020-10-22 | 1 | -10/+0 |
|\ \ | |/ |/| | DOC: removed old references to submodule licenses (closes #17606) | ||||
| * | DOC: removed old references to submodule licenses (closes #17606) | mitch | 2020-10-21 | 1 | -10/+0 |
| | | |||||
* | | Merge pull request #17570 from takanori-pskq/i13114-feature-version | Matti Picus | 2020-10-22 | 1 | -12/+16 |
|\ \ | | | | | | | DOC: Add the entry for ``NPY_FEATURE_VERSION`` | ||||
| * | | DOC: Fixup | takanori-pskq | 2020-10-22 | 1 | -17/+16 |
| | | | |||||
| * | | DOC: Add the entry for ``NPY_FEATURE_VERSION`` | takanori-pskq | 2020-10-15 | 1 | -0/+5 |
| | | | |||||
* | | | Merge pull request #16936 from seberg/issue-16934 | Matti Picus | 2020-10-22 | 2 | -43/+86 |
|\ \ \ | | | | | | | | | BUG: Fix memory leak of buffer-info cache due to relaxed strides | ||||
| * | | | Fixup, an earlier cleanup got things wrong and I forgot to test the strides :( | Sebastian Berg | 2020-10-19 | 2 | -10/+12 |
| | | | | |||||
| * | | | MAINT: simplify buffer info reuse check | Sebastian Berg | 2020-10-19 | 1 | -19/+20 |
| | | | | |||||
| * | | | BUG: Fix leak for relaxed strides when exporting both C- and F-order | Sebastian Berg | 2020-10-19 | 2 | -9/+36 |
| | | | | | | | | | | | | | | | | | | | | Exporting these multiple times alternating would previously cause a new buffer-info to be created each time. | ||||
| * | | | BUG: Fix memory leak of buffer-info cache due to relaxed strides | Sebastian Berg | 2020-10-19 | 2 | -40/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When relaxed strides is active (and has an effect), we recalculate the strides to export "clean" strides in the buffer interface. (Python and probably some other exporters expect this, i.e. NumPy has fully switched to and embraced relaxed strides, but the buffer interface at large probably not.) The place where "fixing" the strides occured however meant that when the strides are fixed, the old, cached buffer-info was not reused when it should have been reused. This moves the "fixing" logic so that reuse will occur. It leaves one issue open in that an array shaped e.g. `(1, 10)` is both C- and F-contiguous. Thus, if it is exported as C-contiguous and then as F-contiguous, and then *again* as C-contiguous, this will work, but the last export will compare to the export as an F-contig buffer and thus still leak memory. Address gh-16934 (but does leave a small hole) | ||||
* | | | | Merge pull request #17608 from akuhnregnier/documentation-typos | Matti Picus | 2020-10-22 | 2 | -3/+3 |
|\ \ \ \ | |_|_|/ |/| | | | DOC: Fix typos (general documentation) | ||||
| * | | | DOC: Fix typos (general documentation) | Alexander Kuhn-Regnier | 2020-10-21 | 2 | -3/+3 |
|/ / / | |||||
* | | | Merge pull request #17603 from charris/cleanup-clang-warnings | Sebastian Berg | 2020-10-21 | 3 | -3/+5 |
|\ \ \ | | | | | | | | | MAINT: Mark dead code as intentional for clang. | ||||
| * | | | MAINT: Mark dead code as intentional for clang. | Charles Harris | 2020-10-21 | 3 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | Clang is giving dead code warnings in places where we have intentionally marked code to be ignored by inserting a zero in an if statement. | ||||
* | | | | Merge pull request #17601 from BvB93/numeric-fix | Sebastian Berg | 2020-10-21 | 2 | -4/+4 |
|\ \ \ \ | | | | | | | | | | | TST: Fix a broken `np.core.numeric` test | ||||
| * | | | | TST: Fixed a broken `np.core.numeric` test | Bas van Beek | 2020-10-21 | 2 | -4/+4 |
|/ / / / | |||||
* | | | | Merge pull request #17597 from BvB93/tests | Matti Picus | 2020-10-21 | 1 | -5/+42 |
|\ \ \ \ | | | | | | | | | | | TST: Clean up the errors of the typing tests | ||||
| * | | | | TST: Clean up the errors of the typing tests | Bas van Beek | 2020-10-21 | 1 | -5/+42 |
| |/ / / | |||||
* | | | | Merge pull request #17564 from BvB93/numeric | Matti Picus | 2020-10-21 | 6 | -34/+351 |
|\ \ \ \ | | | | | | | | | | | MAINT: Update the annotations in `np.core.numeric` | ||||
| * | | | | MAINT: Update the `axes` parameter of `tensordot` | Bas van Beek | 2020-10-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | `axes` can take either an integer or a 2-tuple of shape-like objects | ||||
| * | | | | TST: Added tests for `np.core.numeric` | Bas van Beek | 2020-10-14 | 4 | -2/+255 |
| | | | | | |||||
| * | | | | TST,MAINT: Moved a few tests to `array_constructors` | Bas van Beek | 2020-10-14 | 1 | -8/+0 |
| | | | | | |||||
| * | | | | MAINT: Updated the annotations in `np.core.numeric` | Bas van Beek | 2020-10-14 | 1 | -24/+96 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added missing overloads * Use `DtypeLike` and `_Shapelike` where applicable * Moved a few annotation-aliases to the top of the module | ||||
* | | | | | Merge pull request #17540 from BvB93/precision | Matti Picus | 2020-10-21 | 15 | -586/+733 |
|\ \ \ \ \ | |_|/ / / |/| | | | | ENH: Make `np.number` generic with respect to its precision | ||||
| * | | | | TST: Update the tests introduced in the latest rebase | Bas van Beek | 2020-10-17 | 1 | -10/+10 |
| | | | | | |||||
| * | | | | MAINT: Removed an unused import | Bas van Beek | 2020-10-17 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | TST: Added a test for the example in the `NBitBase` docstring | Bas van Beek | 2020-10-17 | 1 | -0/+18 |
| | | | | | |||||
| * | | | | TST: Add support for precision to the arithmetic and bitwise ops tests | Bas van Beek | 2020-10-17 | 2 | -269/+269 |
| | | | | | |||||
| * | | | | TST: Update the pre-existing tests | Bas van Beek | 2020-10-17 | 7 | -158/+154 |
| | | | | | |||||
| * | | | | TST: Ignore all `*` characters in the reveal tests | Bas van Beek | 2020-10-17 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mypy uses a `*` whenever an annotation or one of its parameters is based on a TypeVar. Its added value is neglible and it unnecessarily complicates the `reveal` tests so lets just ignore them. Note that this is done after running mypy, so it won't affect cases where `*` is used as multiplication operator. | ||||
| * | | | | MAINT: Fixed a few issues with the `__call__`-based protocols | Bas van Beek | 2020-10-17 | 1 | -38/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed redundant `type: ignore` messages * Set the return precision as `Union[_NBit_co, _NBit]` * Type the precision of `builtins.int` operations as `Any` | ||||
| * | | | | MAINT: Added a missing `__init__` method | Bas van Beek | 2020-10-17 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | DOC: Fixed some docstring formatting | Bas van Beek | 2020-10-17 | 1 | -18/+20 |
| | | | | | |||||
| * | | | | MAINT: Removed a now redundant `TODO` comment | Bas van Beek | 2020-10-17 | 1 | -3/+0 |
| | | | | | |||||
| * | | | | ENH: Make `complexfloating` generic w.r.t 2 typevars | Bas van Beek | 2020-10-17 | 2 | -6/+15 |
| | | | | | |||||
| * | | | | ENH: Added support for `number` precision | Bas van Beek | 2020-10-17 | 3 | -142/+269 |
| | | | | | |||||
* | | | | | Merge pull request #17594 from andryandrew/patch-1 | Matti Picus | 2020-10-20 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | DOC: Typo in lexsort docstring | ||||
| * | | | | | DOC: Typo in lexsort docstring | andryandrew | 2020-10-20 | 1 | -1/+1 |
|/ / / / / | | | | | | | | | | | ...it's rows... --> ...its rows... |