Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DOC: Fix typos & grammer in docstrings and comments (#23503) | Pratyay Banerjee | 2023-03-30 | 1 | -1/+1 |
| | |||||
* | MAINT: Remove two TODO notes that got outdated (#22788) | Sebastian Berg | 2022-12-13 | 1 | -8/+0 |
| | | | | The first one should have been removed in gh-22735, the second an even more random find. | ||||
* | DOC: Fix doc `numpy.<exception>` to `numpy.exceptions.<exception>` | Sebastian Berg | 2022-12-06 | 1 | -2/+2 |
| | |||||
* | API: Hide exceptions from the main namespace | Sebastian Berg | 2022-12-06 | 1 | -6/+2 |
| | | | | | | | | | | | | I wasn't sure if we should already start deprecating the exceptions so opted to follow up with only hiding them from `__dir__()` but still having them in `__all__` and available. This also changes their module to `numpy.exceptions`, which matters because that is how they will be pickled (it would not be possible to unpickle such an exception in an older NumPy version). Due to pickling, we could put off changing the module. | ||||
* | DOC: No need to repeat "error" after DTypePromotionError and line breaks | Sebastian Berg | 2022-12-02 | 1 | -7/+7 |
| | |||||
* | MAINT: Rename to DTypePromotionError | Sebastian Berg | 2022-12-02 | 1 | -7/+7 |
| | |||||
* | DOC,TST: address review comments and improve test coverage | Sebastian Berg | 2022-12-02 | 1 | -6/+5 |
| | | | | Co-authored-by: Marten van Kerkwijk <mhvk@astro.utoronto.ca> | ||||
* | ENH: Add an InvalidPromotion exception | Sebastian Berg | 2022-12-01 | 1 | -3/+50 |
| | |||||
* | Update numpy/exceptions.py | Sebastian Berg | 2022-11-30 | 1 | -2/+0 |
| | | | Co-authored-by: Matti Picus <matti.picus@gmail.com> | ||||
* | DOC: Update messages to NumPy 1.25 although I hope its 2.0 :) | Sebastian Berg | 2022-11-30 | 1 | -3/+3 |
| | |||||
* | DOC: Document exceptions and warnings in the refguide | Sebastian Berg | 2022-11-30 | 1 | -2/+40 |
| | | | | | AxisError did exist, but e.g. ComplexWarning wasn't even properly included. | ||||
* | TYP: Modify typing stubs for new `np.exceptions` module | Sebastian Berg | 2022-11-30 | 1 | -0/+1 |
| | |||||
* | MAINT: Move ModuleDeprecationWarning and ModuleDeprecationWarning | Sebastian Berg | 2022-11-30 | 1 | -1/+38 |
| | | | | Both should now live in the "exceptions" module. | ||||
* | API: Add new exceptions module and move exception exposed via numeric | Sebastian Berg | 2022-11-30 | 1 | -0/+123 |
This means moving ComplexWarning, TooHardError, and AxisError. |