summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* DOC: Fix import of default_rngdoc/user-guide-default-rngRobert Kern2021-09-011-1/+1
| | | Fixes #19812 19812
* Merge pull request #19781 from mwtoews/foreach-itemMatti Picus2021-09-018-75/+72
|\ | | | | MAINT: refactor "for ... in range(len(" statements
| * MAINT: refactor "for ... in range(len(" statementsMike Taves2021-09-018-75/+72
| |
* | Merge pull request #19802 from BvB93/pep-457Charles Harris2021-08-3112-235/+270
|\ \ | | | | | | STY: Use the new PEP 457 positional-only syntax for typing
| * | STY: Use the PEP 457 positional-only syntax in `numpy.typing`Bas van Beek2021-08-312-100/+102
| | |
| * | STY: Use the PEP 457 positional-only syntax in the stub filesBas van Beek2021-08-3110-135/+168
| | |
* | | Merge pull request #19799 from BvB93/typing-extensionsCharles Harris2021-08-311-3/+0
|\ \ \ | |/ / |/| | TST: Drop typing-extensions from test_requirements.txt
| * | TST: Drop typing-extensions from test_requirements.txtBas van Beek2021-08-311-3/+0
|/ / | | | | | | | | | | Follow up on https://github.com/numpy/numpy/pull/19784. With the release of 3.10.0.2 we no longer have to worry about mypy installing a broken typing-extensions version for python 3.10.
* | Merge pull request #19784 from BvB93/37-typingCharles Harris2021-08-3043-815/+478
|\ \ | | | | | | MAINT: Remove typing code-paths specific to Python 3.7
| * | BLD: Temporarily reintroduce `typing_extensions` for python 3.10Bas van Beek2021-08-301-0/+3
| | | | | | | | | | | | Remove once python/typing#865 has been fixed
| * | BLD: Drop typing extension as an (optional) runtime dependencyBas van Beek2021-08-304-46/+1
| | | | | | | | | | | | It might return in the future, but as of the moment we don't need it anymore
| * | MAINT: Drop .pyi code-paths specific to Python 3.7Bas van Beek2021-08-3033-199/+57
| | |
| * | MAINT: Drop .py code-paths specific to Python 3.7Bas van Beek2021-08-307-570/+417
| |/
* | Merge pull request #19789 from numpy/dependabot/pip/hypothesis-6.17.3Charles Harris2021-08-301-1/+1
|\ \ | | | | | | MAINT: Bump hypothesis from 6.15.0 to 6.17.3
| * | MAINT: Bump hypothesis from 6.15.0 to 6.17.3dependabot[bot]2021-08-301-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.15.0 to 6.17.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.15.0...hypothesis-python-6.17.3) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #19407 from Mukulikaa/indexing-docs-mergeMatti Picus2021-08-304-929/+808
|\ \ | |/ |/| DOC: Rearranged parts of the Indexing docs to consolidate content
| * DOC: Removed unnecessary section linkMukulika2021-08-301-3/+1
| |
| * DOC: Renamed section to Basic indexingMukulika2021-08-281-5/+5
| | | | | | Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| * DOC: Added examples and other minor changes after reviewMukulika2021-08-281-59/+142
| |
| * DOC: Reformatted examplesMukulika2021-08-201-51/+52
| |
| * DOC: Replaced indexing stub doc with routinesMukulika2021-08-184-131/+69
| |
| * DOC: Exchanged the contents of Indexing basics and Indexing ref docsMukulika2021-08-182-734/+735
| |
| * DOC: Rearranged parts of the Indexing docs to consolidate contentMukulika2021-08-182-546/+404
| |
* | Merge pull request #19715 from yashasvimisra2798/casting_patch1Matti Picus2021-08-292-1/+12
|\ \ | | | | | | BUG: Casting bool_ to float16
| * | lint: fix flake8 errorsYashasvi Misra2021-08-271-2/+1
| | | | | | | | | | | | Signed-off-by: Yashasvi Misra <yashasvimisra_bh@srmuniv.edu.in>
| * | test: add test_float_to_bool()Yashasvi Misra2021-08-271-7/+9
| | | | | | | | | | | | Signed-off-by: Yashasvi Misra <yashasvimisra_bh@srmuniv.edu.in>
| * | add testYashasvi Misra2021-08-261-0/+6
| | |
| * | updateYashasvi Misra2021-08-191-0/+4
| | |
* | | Merge pull request #19747 from charris/update-readmeCharles Harris2021-08-271-4/+22
|\ \ \ | | | | | | | | MAINT: Update README.md with badges
| * | | MAINT: Add some badges to README.mdCharles Harris2021-08-251-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds badges for - downloads from Pypi and Conda - link to stackoverflow - link to Nature paper [skip ci]
* | | | Remove reference since it's not used (#19766)Illviljan2021-08-271-3/+0
| | | |
* | | | Merge pull request #19764 from Illviljan/around_docstring_testCharles Harris2021-08-271-3/+3
|\ \ \ \ | | | | | | | | | | BUG: np.around fails when using doctest
| * | | | Fix so doctest passesIllviljan2021-08-271-3/+3
|/ / / /
* | | | Merge pull request #19758 from HowJMay/remove-redundent-semicolonCharles Harris2021-08-264-4/+4
|\ \ \ \ | | | | | | | | | | MAINT: Remove redundant semicolon
| * | | | MAINT: Remove redundant semicolonHowJMay2021-08-274-4/+4
|/ / / /
* | | | NEP: add qualifier for free(), mention ContextVar (#19663)Matti Picus2021-08-261-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEP: add qualifier for free(), mention ContextVar * Update doc/neps/nep-0049.rst Co-authored-by: Eric Wieser <wieser.eric@gmail.com> * fix from review * remove qualifier for mismatched alloc/free * NEP: reformat the alloc/free mismatch problem Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | | | Merge pull request #19725 from anntzer/loadtxt-fh-closingMatti Picus2021-08-261-14/+12
|\ \ \ \ | | | | | | | | | | MAINT: Use a contextmanager to ensure loadtxt closes the input file.
| * | | | MAINT: Use a contextmanager to ensure loadtxt closes the input file.Antony Lee2021-08-221-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This seems easier to track that a giant try... finally. Also move the `fencoding` initialization to within the contextmanager, in the rather unlikely case an exception occurs during the call to `getpreferredencoding`.
* | | | | Merge pull request #19638 from iritkatriel/no_compileMatti Picus2021-08-261-30/+8
|\ \ \ \ \ | | | | | | | | | | | | MAINT: Remove import time compile
| * | | | | Update numpy/core/overrides.pySebastian Berg2021-08-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | | | | remove import time compileIrit Katriel2021-08-251-30/+8
|/ / / / /
* | | | | Merge pull request #19621 from seberg/fix-normal-ufunc-safetyCharles Harris2021-08-252-2/+33
|\ \ \ \ \ | | | | | | | | | | | | BUG: The normal cast-safety for ufunc loops is "no" casting
| * | | | | MAINT: Fix spellingCharles Harris2021-08-251-1/+1
| | | | | |
| * | | | | BUG: The normal cast-safety for ufunc loops is "no" castingSebastian Berg2021-08-242-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can now be set for a loop, which allows specialized loops that include the cast for example (or may make sense for units). However, the default here was just wrong, and apparently we missed any tests at all. (sklearn caught it luckily :))
* | | | | | Merge pull request #19736 from neutrinoceros/hotfix_reg_19721Matti Picus2021-08-252-1/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Fix passing a MaskedArray instance to ``MaskedArray.__setitem__``
| * | | | | | BUG: fix a regression where a masked_array's mask wouldn't updateClément Robert2021-08-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | properly when indx was itself a masked_array instance. Closes #19721. See #19244 for context.
| * | | | | | Add check for when value is a np.maiameskild2021-08-241-1/+2
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #19730 from phetdam/hotfix-19575Sebastian Berg2021-08-241-0/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | BUG: Fix reference leak of capi_tmp in f2py/cb_rules.py
| * | | | | BUG: address 19575 ref leak of capi_tmp in f2py/cb_rules.pyDerek Huang2021-08-221-0/+1
| | |/ / / | |/| | |
* | | | | Merge pull request #19733 from tupui/citation_ghCharles Harris2021-08-241-0/+20
|\ \ \ \ \ | |_|_|/ / |/| | | | DOC: add citation file for GitHub support