summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: PR 18282 revisionstreddy_issue_18273Tyler Reddy2021-02-012-10/+4
| | | | | | | * based on reviewer feedback, instead of explicitly supporting `memoryview` shuffling via `asarray()`, support the shuffling implicitly by using `Sequence` instead of `MutableSequence`
* MAINT: gracefully shuffle memoryviewsTyler Reddy2021-02-013-0/+21
| | | | | | * allow graceful shuffling of memoryviews, with same behavior as arrays, instead of producing a warning on `memoryview` shuffle
* Merge pull request #18263 from ↵Charles Harris2021-02-013-7/+20
|\ | | | | | | | | Mitchell-Faas/set_printoptions-bugfix-issue-#18254 ENH: Added sanity check to printoptions
| * MAINT: Updated annotationsMitchell Faas2021-02-011-7/+7
| |
| * MAINT: import refactorMitchell Faas2021-01-311-2/+2
| |
| * ENH: Improved error traceback in set_printoptionsMitchell-Faas2021-01-311-2/+2
| | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * BUG: Now allows for all integer typesMitchell Faas2021-01-311-1/+4
| | | | | | | | | | Fixed a bug where precision couldn't be a non-native integer. See comments on pull request #18263 for more info.
| * ENH: Added sanity check to printoptionsMitchell Faas2021-01-312-0/+10
| | | | | | | | See issue #18254
* | Merge pull request #18278 from cgohlke/patch-1Charles Harris2021-02-011-2/+4
|\ \ | | | | | | ENH: defer the import of shutil
| * | ENH: defer the import of shutilChristoph Gohlke2021-01-311-2/+4
| | |
* | | Merge pull request #18275 from numpy/dependabot/pip/hypothesis-6.1.1Charles Harris2021-02-011-1/+1
|\ \ \ | |/ / |/| | MAINT: Bump hypothesis from 6.0.3 to 6.1.1
| * | MAINT: Bump hypothesis from 6.0.3 to 6.1.1dependabot/pip/hypothesis-6.1.1dependabot-preview[bot]2021-02-011-1/+1
|/ / | | | | | | | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.0.3 to 6.1.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.0.3...hypothesis-python-6.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Merge pull request #18272 from Carreau/underline-lengthCharles Harris2021-01-311-1/+1
|\ \ | | | | | | DOC: Numpydoc warning incorrect underline length.
| * | DOC: Numpydoc warning incorrect underline length.Matthias Bussonnier2021-01-311-1/+1
|/ / | | | | | | This should make numpydoc complain less.
* | Merge pull request #18269 from Carreau/more-doc-fixesMatti Picus2021-01-313-11/+9
|\ \ | | | | | | DOC: Nupydoc format space before `:` in Parameters
| * | DOC: Nupydoc format space before `:` in ParametersMatthias Bussonnier2021-01-313-11/+9
|/ / | | | | | | Missing `s` in two spellings.
* | Merge pull request #18233 from rgommers/accept-nep23Ralf Gommers2021-01-311-3/+6
|\ \ | | | | | | NEP: accept NEP 23 (backwards compatibility policy)
| * | MAINT: Remove stray quote.Charles Harris2021-01-291-1/+1
| | |
| * | NEP: accept NEP 23 (backwards compatibility policy)Ralf Gommers2021-01-261-2/+5
| | | | | | | | | | | | | | | | | | Closes gh-16193 [ci skip]
* | | Merge pull request #18234 from rgommers/accept-nep46Ralf Gommers2021-01-311-3/+4
|\ \ \ | | | | | | | | NEP: accept NEP 46 (sponsorship guidelines)
| * | | NEP: accept NEP 46 (sponsorship guidelines)Ralf Gommers2021-01-261-3/+4
| |/ / | | | | | | | | | [ci skip]
* | | Merge pull request #18262 from charris/post-1.20.0-release-updateMatti Picus2021-01-314-70/+115
|\ \ \ | |_|/ |/| | REL: Update master after 1.20.0 release.
| * | REL: Update master after 1.20.0 release.Charles Harris2021-01-304-70/+115
| | |
* | | DOC: replace 'this platform' with the actual platform in the scalar type ↵Ryan Polley2021-01-301-1/+4
| | | | | | | | | | | | | | | | | | | | | documentation (#18085) In the scalar documentation it's unclear that 'this platform' refers to the platform that the doc build job ran on, so replace it with the name of the platform using python's platform module
* | | Merge pull request #18252 from Carreau/doc-polyutilsCharles Harris2021-01-294-21/+9
|\ \ \ | |/ / |/| | DOC: cleanup of numpy/polynomial.
| * | DOC: cleanup of numpy/polynomial.Matthias Bussonnier2021-01-284-21/+9
| | | | | | | | | | | | | | | Numpydoc format says that the colon need o be omitted if there is no type, there were also some empty Examples Sections
* | | Merge pull request #18150 from seberg/fix-too-many-boolean-indicesCharles Harris2021-01-292-1/+30
|\ \ \ | | | | | | | | BUG: Ensure too many advanced indices raises an exception
| * | | Update numpy/core/src/multiarray/mapping.cSebastian Berg2021-01-291-2/+0
| | | |
| * | | BUG: Ensure too many advanced indices raises an exceptionSebastian Berg2021-01-112-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The number of indices is limited to 2*MAXDIMS currently to allow mixing integer indices, e.g. with new indices `np.newaxis` (one removes output dimensions, the other adds new ones). This means that more than MAXDIMS advanced indices can be passed on to the advanced indexing machinery (`MapIterNew`), which did not check for this possibility. Closes gh-18145
* | | | Merge pull request #18255 from mattip/debug-buildRalf Gommers2021-01-291-0/+1
|\ \ \ \ | | | | | | | | | | CI: add an 'apt update'
| * | | | add an 'apt update'mattip2021-01-291-0/+1
| | | | |
* | | | | Merge pull request #18236 from BvB93/dtype-likeRalf Gommers2021-01-294-13/+182
|\ \ \ \ \ | |/ / / / |/| | | | ENH: Add aliases for commonly used dtype-like objects
| * | | | MAINT: typo fix: `_UInt8Codes` -> `_Int8Codes`Bas van Beek2021-01-291-1/+1
| | | | |
| * | | | ENH: Added aliases for commonly used dtype-like objectsBas van Beek2021-01-262-4/+165
| | | | |
| * | | | MAINT: Ensure that the `_SupportsDType` protocol can only take dtypes; not ↵Bas van Beek2021-01-263-10/+18
| | |_|/ | |/| | | | | | | | | | | | | | | | | | arbitrary dtype-like objects xref https://github.com/numpy/numpy/pull/13578
* | | | Merge pull request #18253 from rgommers/doc-novalueMatti Picus2021-01-291-2/+14
|\ \ \ \ | | | | | | | | | | DOC: improve description of `_NoValue`
| * | | | DOC: improve description of `NoValue`.Ralf Gommers2021-01-291-2/+14
| | |_|/ | |/| | | | | | | | | | [ci skip]
* | | | Merge pull request #18229 from BvB93/__all__Ralf Gommers2021-01-294-100/+87
|\ \ \ \ | | | | | | | | | | MAINT: Clean up all module-level dunders
| * | | | MAINT: Removed annotations for `__NUMPY_SETUP__`, `__deprecated_attrs__` and ↵Bas van Beek2021-01-274-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `__expired_functions__` Removing them as their "public" nature is somewhat questionable.
| * | | | TST: Add module-based tests to the `pass` testsBas van Beek2021-01-251-0/+23
| | | | |
| * | | | ENH: Add annotations for certain module-level dundersBas van Beek2021-01-252-0/+15
| | | | |
| * | | | STY: Remove `__all__` in favor of explicit reexportsBas van Beek2021-01-251-100/+54
| | | | |
* | | | | Merge pull request #18251 from Carreau/more-docsRalf Gommers2021-01-292-8/+7
|\ \ \ \ \ | |_|/ / / |/| | | | DOC: more misc fixes of syntax
| * | | | DOC: more mist fixes of syntax.Matthias Bussonnier2021-01-282-8/+7
|/ / / / | | | | | | | | | | | | | | | | Space before colon, or missing colon in see-also, typo in parameter names, casing in See Also.
* | | | Merge pull request #18248 from Carreau/see-also-upperMatti Picus2021-01-281-91/+91
|\ \ \ \ | | | | | | | | | | DOC: See also -> See Also (casing)
| * | | | DOC: See also -> See Also (casing)Matthias Bussonnier2021-01-271-91/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Numpydoc seem to suggest Also should be uppercase, and as far as I can tell this is the main spelling found in this code base: $ rg '^ +See also$' | wc -l 109 $ rg '^ +See Also$' | wc -l 814 This commit update one offending file that contain ~90 lowercase `See also`.
* | | | | Merge pull request #18247 from Carreau/arf-IIMatti Picus2021-01-288-27/+21
|\ \ \ \ \ | | | | | | | | | | | | DOC: Misc numpydoc format fixes
| * | | | | DOC: Misc numpydoc format fixesMatthias Bussonnier2021-01-278-27/+21
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Via prototype docstring autoreformatter; and cherry-picked to mostly include spacing issues around colons in parameters and see also. When no space is present numpydoc tend to miss-parse those sections A couple of typos are fixed as well.
* | | | | Merge pull request #18238 from rsokl/patch-1Matti Picus2021-01-281-8/+8
|\ \ \ \ \ | |/ / / / |/| | | | DOC: __array__ accepts a dtype argument
| * | | | DOC: __array__ accepts a dtype argumentRyan Soklaski2021-01-261-8/+8
| | | | |