Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add `noexcept` to `_utils` C-equiv functions The functions in `_utils` are effectively straight C functions. In Cython 0.x, these would have been treated as `noexcept` by default. However in Cython 3.x all functions are treated as potentially raising exceptions (including these). While that is a sensible default in general, these functions still won't raise exceptions. So tidy things up by adding `noexcept` to turn off the additional Cython checks emitted in and around them. * Swap order of `nogil` & `noexcept` Fixes a Cython warning when using the opposite ordering. * style: pre-commit fixes --------- Co-authored-by: David Stansby <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information