summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: mark _version.py as third-party code for LGTMeric-wieser/vendor-_version.pyEric Wieser2021-09-021-0/+1
| | | This is generated by versioneer
* MAINT: mark _version.py as generatedEric Wieser2021-09-021-0/+3
| | | This should discourage PRs that try to change it
* Merge pull request #19815 from mwtoews/maint-ioerrorCharles Harris2021-09-0222-54/+48
|\ | | | | MAINT: revise OSError aliases (IOError, EnvironmentError)
| * MAINT: revise OSError aliases (IOError, EnvironmentError)Mike Taves2021-09-0222-54/+48
| |
* | Merge pull request #19817 from BvB93/io-protocolCharles Harris2021-09-025-26/+72
|\ \ | | | | | | ENH: Use custom file-like protocols instead of `typing.IO`
| * | TST: Update the IO-related typing testsBas van Beek2021-09-022-3/+22
| | |
| * | MAINT: Make the `_SupportsGetItem` protocol positional-onlyBas van Beek2021-09-021-1/+1
| | |
| * | ENH: Use custom file-like protocols instead of `typing.IO`Bas van Beek2021-09-023-22/+49
|/ /
* | Merge pull request #19811 from mwtoews/dep-quote_argsMatti Picus2021-09-021-1/+8
|\ \ | |/ |/| DEP: Deprecate quote_args (from numpy.distutils.misc_util)
| * DEP: Deprecate quote_args (from numpy.distutils.misc_util)Mike Taves2021-09-021-1/+8
| |
* | Merge pull request #19813 from numpy/doc/user-guide-default-rngCharles Harris2021-09-021-1/+1
|\ \ | |/ |/| DOC: Fix import of default_rng
| * 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