summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #17610 from johnthagen/patch-1Ralf Gommers2020-10-241-1/+1
|\ | | | | MAINT: fully qualify license trove classifier
| * Fully qualify license trove classifierjohnthagen2020-10-221-1/+1
| |
* | Merge pull request #17624 from eric-wieser/fix-refsMatti Picus2020-10-244-13/+12
|\ \ | | | | | | DOC: Tidy up references to str_ / bytes_
| * | DOC: Tidy up references to str_ / bytes_Eric Wieser2020-10-244-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-miscMatti Picus2020-10-2413-32/+38
|\ \ | | | | | | DOC: Fix some references
| * | DOC: Fixup for ``PyUFunc_*``takanori-pskq2020-10-241-1/+3
| | |
| * | Update doc/source/reference/random/c-api.rstTakanori H2020-10-241-2/+1
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | Update doc/source/user/basics.rec.rstTakanori H2020-10-241-1/+1
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | DOC: Fixup for PR #17614takanori-pskq2020-10-241-1/+1
| | |
| * | DOC: Fix some referencestakanori-pskq2020-10-2412-30/+35
|/ /
* | Merge pull request #17614 from takanori-pskq/i13114-arrays-interfaceMatti Picus2020-10-231-14/+14
|\ \ | | | | | | DOC: Fix the document for arrays interface
| * | DOC: Fix the document for arrays interfacetakanori-pskq2020-10-231-14/+14
|/ /
* | Merge pull request #17607 from mitchnegus/mn_licensefixSebastian Berg2020-10-221-10/+0
|\ \ | |/ |/| DOC: removed old references to submodule licenses (closes #17606)
| * DOC: removed old references to submodule licenses (closes #17606)mitch2020-10-211-10/+0
| |
* | Merge pull request #17570 from takanori-pskq/i13114-feature-versionMatti Picus2020-10-221-12/+16
|\ \ | | | | | | DOC: Add the entry for ``NPY_FEATURE_VERSION``
| * | DOC: Fixuptakanori-pskq2020-10-221-17/+16
| | |
| * | DOC: Add the entry for ``NPY_FEATURE_VERSION``takanori-pskq2020-10-151-0/+5
| | |
* | | Merge pull request #16936 from seberg/issue-16934Matti Picus2020-10-222-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 Berg2020-10-192-10/+12
| | | |
| * | | MAINT: simplify buffer info reuse checkSebastian Berg2020-10-191-19/+20
| | | |
| * | | BUG: Fix leak for relaxed strides when exporting both C- and F-orderSebastian Berg2020-10-192-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 stridesSebastian Berg2020-10-192-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-typosMatti Picus2020-10-222-3/+3
|\ \ \ \ | |_|_|/ |/| | | DOC: Fix typos (general documentation)
| * | | DOC: Fix typos (general documentation)Alexander Kuhn-Regnier2020-10-212-3/+3
|/ / /
* | | Merge pull request #17603 from charris/cleanup-clang-warningsSebastian Berg2020-10-213-3/+5
|\ \ \ | | | | | | | | MAINT: Mark dead code as intentional for clang.
| * | | MAINT: Mark dead code as intentional for clang.Charles Harris2020-10-213-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-fixSebastian Berg2020-10-212-4/+4
|\ \ \ \ | | | | | | | | | | TST: Fix a broken `np.core.numeric` test
| * | | | TST: Fixed a broken `np.core.numeric` testBas van Beek2020-10-212-4/+4
|/ / / /
* | | | Merge pull request #17597 from BvB93/testsMatti Picus2020-10-211-5/+42
|\ \ \ \ | | | | | | | | | | TST: Clean up the errors of the typing tests
| * | | | TST: Clean up the errors of the typing testsBas van Beek2020-10-211-5/+42
| |/ / /
* | | | Merge pull request #17564 from BvB93/numericMatti Picus2020-10-216-34/+351
|\ \ \ \ | | | | | | | | | | MAINT: Update the annotations in `np.core.numeric`
| * | | | MAINT: Update the `axes` parameter of `tensordot`Bas van Beek2020-10-211-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 Beek2020-10-144-2/+255
| | | | |
| * | | | TST,MAINT: Moved a few tests to `array_constructors`Bas van Beek2020-10-141-8/+0
| | | | |
| * | | | MAINT: Updated the annotations in `np.core.numeric`Bas van Beek2020-10-141-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/precisionMatti Picus2020-10-2115-586/+733
|\ \ \ \ \ | |_|/ / / |/| | | | ENH: Make `np.number` generic with respect to its precision
| * | | | TST: Update the tests introduced in the latest rebaseBas van Beek2020-10-171-10/+10
| | | | |
| * | | | MAINT: Removed an unused importBas van Beek2020-10-171-1/+1
| | | | |
| * | | | TST: Added a test for the example in the `NBitBase` docstringBas van Beek2020-10-171-0/+18
| | | | |
| * | | | TST: Add support for precision to the arithmetic and bitwise ops testsBas van Beek2020-10-172-269/+269
| | | | |
| * | | | TST: Update the pre-existing testsBas van Beek2020-10-177-158/+154
| | | | |
| * | | | TST: Ignore all `*` characters in the reveal testsBas van Beek2020-10-171-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 protocolsBas van Beek2020-10-171-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__` methodBas van Beek2020-10-171-1/+2
| | | | |
| * | | | DOC: Fixed some docstring formattingBas van Beek2020-10-171-18/+20
| | | | |
| * | | | MAINT: Removed a now redundant `TODO` commentBas van Beek2020-10-171-3/+0
| | | | |
| * | | | ENH: Make `complexfloating` generic w.r.t 2 typevarsBas van Beek2020-10-172-6/+15
| | | | |
| * | | | ENH: Added support for `number` precisionBas van Beek2020-10-173-142/+269
| | | | |
* | | | | Merge pull request #17594 from andryandrew/patch-1Matti Picus2020-10-201-1/+1
|\ \ \ \ \ | | | | | | | | | | | | DOC: Typo in lexsort docstring
| * | | | | DOC: Typo in lexsort docstringandryandrew2020-10-201-1/+1
|/ / / / / | | | | | | | | | | ...it's rows... --> ...its rows...