Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT: Move set_module to numpy.core to use without C import | Sebastian Berg | 2022-11-24 | 1 | -1/+2 |
| | |||||
* | TST,MAINT: Replace most `setup` with `setup_method` (also teardown) | Sebastian Berg | 2022-10-27 | 1 | -1/+1 |
| | | | | | | | | In some cases, the replacement is clearly not what is intended, in those (where setup was called explicitly), I mostly renamed `setup` to `_setup`. The `test_ccompile_opt` is a bit confusing, so left it right now (this will probably fail) | ||||
* | ENH: allow importlib.LazyLoader to work with numpy and add test of this (#22045) | Dan Schult | 2022-07-27 | 1 | -0/+1 |
| | |||||
* | MAINT: Split `numpy.typing` into a public and private component | Bas van Beek | 2022-03-18 | 1 | -1/+1 |
| | | | | i.e. `numpy.typing` and `numpy._typing` | ||||
* | STY: Use subscriptable `collections.abc` types over the generic aliases in … | Bas van Beek | 2021-12-23 | 1 | -1/+2 |
| | |||||
* | STY: Use subscriptable `builtins` types over the generic aliases in `typing` | Bas van Beek | 2021-12-23 | 2 | -6/+4 |
| | |||||
* | ENH: Add annotations for `np.matrix` | Bas van Beek | 2021-10-12 | 2 | -5/+22 |
| | |||||
* | ENH: Add `__path__` annotations to all sub-packages | Bas van Beek | 2021-07-25 | 1 | -0/+1 |
| | |||||
* | ENH: Add annotations for `<module>.test` objects | Bas van Beek | 2021-07-25 | 1 | -0/+3 |
| | |||||
* | ENH: Add improved placeholder annotations for `np.matrixlib` | Bas van Beek | 2021-04-23 | 1 | -4/+7 |
| | |||||
* | MAINT: Add missing `__all__` annotations | Bas van Beek | 2021-02-01 | 1 | -1/+3 |
| | |||||
* | BUG: Fixed an issue where `.pyi` weren't picked up by numpy sub-packages | Bas van Beek | 2020-11-03 | 1 | -0/+1 |
| | |||||
* | ENH: Replace module-level `__getattr__` with explicitly defined objects | Bas van Beek | 2020-08-19 | 1 | -2/+4 |
| | |||||
* | ENH: Add placeholder stubs for all sub-modules | Bas van Beek | 2020-08-19 | 1 | -0/+4 |
| | |||||
* | DEP: Deprecate ufunc.outer with matrix inputs | Sebastian Berg | 2020-07-16 | 1 | -1/+3 |
| | | | | | | | | | | Previously we converted matrices to arrays for the user, since `np.outer` does not make sense for matrix. This deprecates that usage (which in almost all cases will result in an error). The main reason for this deprecation is to remove all direct references of matrix from the NumPy codebase, so that it is easier to move it out of NumPy eventually. | ||||
* | DOC: Updated documentation for numpy.squeeze (#16627) | Tapajyoti Bose | 2020-06-30 | 1 | -1/+1 |
| | | | | | | DOC: Updated documentation for squeeze Improve clarity by replacing terms like "single-dimensional" and "singleton dimension" with "axes of length one" | ||||
* | Merge pull request #16156 from WarrenWeckesser/deprecate-dual | Sebastian Berg | 2020-05-19 | 1 | -2/+2 |
|\ | | | | | DEP: Deprecate `numpy.dual`. | ||||
| * | DEP: Deprecate `numpy.dual`. | Warren Weckesser | 2020-05-04 | 1 | -2/+2 |
| | | | | | | | | | | | | Add a deprecation warning in the `numpy.dual` module, and remove the use of `numpy.dual` from the few places where it is used in the numpy code. | ||||
* | | MAINT: Chain exceptions and use NameError in np.bmat (#16215) | bartosz-grabowski | 2020-05-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | This solution is related to the issue #15986. I also made a change to the newer string formatting. Uses NameError, which prints nicer, and is actually the more correct error type. Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> | ||||
* | | Mark tests as a subpackage rather than data. | Hameer Abbasi | 2020-05-06 | 1 | -1/+1 |
|/ | |||||
* | DOC: Add missing bracket (gh-16051) | Chunlin | 2020-04-25 | 1 | -1/+1 |
| | | | Add missing closing brackets, script to generate the list in the PR gh-16051. | ||||
* | convert shebang from python to python3 (#15687) | Changqing Li | 2020-03-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||||
* | Merge pull request #15379 from sethtroisi/misc_cleanups3 | Matti Picus | 2020-01-23 | 1 | -17/+10 |
|\ | | | | | MAINT: Python2 Cleanups | ||||
| * | MAINT: Python2 Cleanups | Seth Troisi | 2020-01-21 | 1 | -17/+10 |
| | | |||||
* | | MAINT: Revise imports from collections.abc module | Mike Taves | 2020-01-22 | 1 | -7/+2 |
|/ | |||||
* | MAINT: Remove implicit inheritance from object class (#15236) | Jon Dufresne | 2020-01-05 | 6 | -16/+16 |
| | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python. | ||||
* | MAINT: Remove unnecessary 'from __future__ import ...' statements | Jon Dufresne | 2020-01-03 | 10 | -20/+0 |
| | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | ||||
* | DOC: convert `None` to bare None or ``None`` | mattip | 2019-10-15 | 1 | -1/+1 |
| | |||||
* | MAINT: Convert property to @property | Alex Watt | 2019-02-24 | 2 | -13/+18 |
| | |||||
* | MAINT: Move pickle import to numpy.compat | Charles Harris | 2019-02-21 | 1 | -1/+1 |
| | | | | | | | The pickle module was being imported from numpy.core.numeric. It was defined there in order to use pickle5 when available in Python3 and cpickle in Python2. The numpy.compat module seems a better place for that. | ||||
* | TST, DOC: enable refguide_check | Tyler Reddy | 2018-12-14 | 1 | -22/+23 |
| | | | | | | | | * ported the refguide_check module from SciPy for usage in NumPy docstring execution/ verification; added the refguide_check run to Azure Mac OS CI * adjusted NumPy docstrings such that refguide_check passes | ||||
* | MAINT: Review F401,F841,F842 flake8 errors (unused variables and imports) ↵ | Roman Yurchak | 2018-12-06 | 6 | -12/+0 |
| | | | | | | | | | | | | (#12448) * Review F401,F841,F842 flake8 errors (unused variables, imports) * Review comments * More tests in test_installed_npymath_ini * Review comments | ||||
* | ENH: set correct __module__ for objects in numpy's public API | Stephan Hoyer | 2018-11-13 | 1 | -0/+6 |
| | | | | | | | | | | | | | Fixes GH-12271 Tests verify that everything in ``dir(numpy)`` either has ``__module__`` set to ``'numpy'``, or appears in an explicit whitelist of undocumented functions and exported bulitins. These should eventually be documented or removed. I also identified a handful of functions for which I had accidentally not setup dispatch for with ``__array_function__`` before, because they were listed under "ndarray methods" in ``_add_newdocs.py``. I guess that should be a lesson in trusting code comments :). | ||||
* | MAINT, TST import pickle from numpy.core.numeric | Pierre Glaser | 2018-10-10 | 1 | -1/+1 |
| | | | | | | | | All imports of pickle from numpy modules are now done this way: >>> from numpy.core.numeric import pickle Also, some loops on protocol numbers are added over pickle tests that were not caught from #12090 | ||||
* | reverted to previous array_dump and array_dumps version | Pierre Glaser | 2018-10-05 | 1 | -1/+1 |
| | |||||
* | removed usage of np.ndarray.dump[s] | Pierre Glaser | 2018-10-05 | 1 | -1/+1 |
| | |||||
* | loop over protocol for pickle tests | Pierre Glaser | 2018-10-05 | 1 | -4/+5 |
| | |||||
* | MAINT: remove unused stdlib imports | Emil Hessman | 2018-09-30 | 1 | -2/+0 |
| | |||||
* | TST: Replace calls to unittest.TestCase.fail (#11933) | Roman Yurchak | 2018-09-12 | 1 | -11/+3 |
| | | | | | | | | After the pytest migration, test classes no longer inherit from unittest.TestCase and and the fail method does not exist anymore. In all these cases, we can use assert_raises and assert_raises_regex instead | ||||
* | BUG: Fix matrix PendingDeprecationWarning suppression for pytest 3.8+. | Charles Harris | 2018-09-06 | 7 | -50/+7 |
| | | | | | | | | | | | | | | | Pytest < 3.8 ignored warnings issued during test collection, but that changed in pytest 3.8 and the method NumPy used to suppress the PendingDeprecationWarning for matrices no longer worked, or rather, was exposed as not working. The fix here is to suppress the warning in pytest.ini and pytesttester.py , which should work as long as the tests are the only places left where NumPy uses matrices. An alternate fix is to delay the construction of matrices in the tests until they are actually run, which has the virtue of test localization but is a bit more complicated. See https://github.com/pytest-dev/pytest/issues/3945 for discussion. | ||||
* | TST: Add tests for expand_dims | Eric Wieser | 2018-07-30 | 1 | -0/+8 |
| | |||||
* | MAINT: Move pytesttester outside of np.testing, to avoid creating ↵ | Eric Wieser | 2018-07-02 | 1 | -1/+1 |
| | | | | | | | | unnecessary import dependencies pytesttester is used by every single subpackage, so making it depend on np.testing just creates cyclic dependencies that can lead to circular imports Relates to #11457 | ||||
* | TST: Ignore PendingDeprecationWarning in matrixlib tests. | Marten van Kerkwijk | 2018-05-29 | 7 | -0/+56 |
| | |||||
* | DEP: give PendingDeprecationWarning for use of the matrix subclass. | Marten van Kerkwijk | 2018-05-29 | 1 | -0/+11 |
| | |||||
* | MAINT: move remaining MaskedArray matrix tests to matrixlib. | Marten van Kerkwijk | 2018-05-22 | 1 | -1/+21 |
| | |||||
* | Merge pull request #11010 from mhvk/poly-matrix-tests-to-matrixlib | Charles Harris | 2018-05-15 | 1 | -0/+361 |
|\ | | | | | Move remaining Matrix tests to matrixlib | ||||
| * | MAINT: move matrix tests in testing to matrixlib. | Marten van Kerkwijk | 2018-04-29 | 1 | -1/+41 |
| | | |||||
| * | MAINT: move matrix tests in lib to matrixlib. | Marten van Kerkwijk | 2018-04-29 | 1 | -3/+169 |
| | | |||||
| * | MAINT: move matrix tests in core, polynomial to matrixlib. | Marten van Kerkwijk | 2018-04-29 | 1 | -0/+155 |
| | | |||||
* | | Merge branch 'master' into linalg-move-matrix-power | Charles Harris | 2018-05-14 | 1 | -0/+95 |
|\ \ |