You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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>
0 commit comments