Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT: Move ModuleDeprecationWarning and ModuleDeprecationWarning | Sebastian Berg | 2022-11-30 | 1 | -27/+1 |
| | | | | Both should now live in the "exceptions" module. | ||||
* | MAINT: Move set_module to numpy.core to use without C import | Sebastian Berg | 2022-11-24 | 1 | -10/+6 |
| | |||||
* | MAINT: remove code specific to Python 2 | Dimitri Papadopoulos | 2022-10-24 | 1 | -4/+0 |
| | |||||
* | MAINT, DOC: fix new typos detected by codespell | Dimitri Papadopoulos | 2022-01-12 | 1 | -1/+1 |
| | |||||
* | DOC: Slightly extend to docs to note that we assume no-copy buffer protocol | Sebastian Berg | 2021-11-12 | 1 | -0/+3 |
| | |||||
* | Apply suggestions from code review | Gagandeep Singh | 2021-11-10 | 1 | -1/+1 |
| | | | Co-authored-by: Matti Picus <matti.picus@gmail.com> | ||||
* | Addressed reviews and increased code coverage | Gagandeep Singh | 2021-11-04 | 1 | -0/+12 |
| | |||||
* | Addressed reviews | czgdp1807 | 2021-09-04 | 1 | -1/+1 |
| | |||||
* | Fixed linting issues | czgdp1807 | 2021-08-18 | 1 | -1/+1 |
| | |||||
* | Made _CopyMode private | czgdp1807 | 2021-08-18 | 1 | -1/+23 |
| | |||||
* | corrected linting issues | czgdp1807 | 2021-08-07 | 1 | -1/+1 |
| | |||||
* | Shifted to CopyMode to np.array_api | czgdp1807 | 2021-08-07 | 1 | -23/+2 |
| | |||||
* | Apply suggestions from code review | Gagandeep Singh | 2021-06-09 | 1 | -2/+2 |
| | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
* | Fixed blank line linting issue | czgdp1807 | 2021-06-08 | 1 | -1/+2 |
| | |||||
* | enum.IntEnum -> enum.Enum | czgdp1807 | 2021-06-08 | 1 | -1/+1 |
| | |||||
* | Addressed reviews and PyArray_CopyConverter defined | czgdp1807 | 2021-06-07 | 1 | -2/+4 |
| | |||||
* | Added np.CopyMode | czgdp1807 | 2021-06-05 | 1 | -1/+20 |
| | |||||
* | MAINT: use super() as described by PEP 3135 | Mike Taves | 2021-03-19 | 1 | -1/+1 |
| | |||||
* | DOC: improve description of `NoValue`. | Ralf Gommers | 2021-01-29 | 1 | -2/+14 |
| | | | | [ci skip] | ||||
* | MAINT: Remove implicit inheritance from object class (#15236) | Jon Dufresne | 2020-01-05 | 1 | -1/+1 |
| | | | | | | | 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 | 1 | -2/+0 |
| | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | ||||
* | ENH: set correct __module__ for objects in numpy's public API | Stephan Hoyer | 2018-11-13 | 1 | -3/+8 |
| | | | | | | | | | | | | | 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 :). | ||||
* | ENH: Add a repr to np._NoValue | Eric Wieser | 2018-02-03 | 1 | -5/+19 |
| | | | | | | This change _NoValue from a class to an instance, which is more inline with the builtin None. Fixes gh-8991, closes gh-9592 | ||||
* | MAINT: Use new-style classes on 2.7 | Eric Wieser | 2017-07-24 | 1 | -1/+1 |
| | | | | Deliberately avoids tests, to prevent introducing a failure on old-style classes later. | ||||
* | BUG: Make sure numpy globals keep identity after reload. | Charles Harris | 2016-08-16 | 1 | -0/+62 |
Reloading currently causes problems because global classes defined in numpy/__init__.py change their identity (a is b) after reload. The solution taken here is to move those classes to a new non-reloadable module numpy/_globals and import them into numpy from there. Classes moved are ModuleDeprecationWarning, VisibleDeprecationWarning, and _NoValue. Closes #7844. |