Skip to content

Commit

Permalink
Merge pull request #2063 from rgommers/nogil-safe-upstream
Browse files Browse the repository at this point in the history
MAINT: declare that `highspy._core` supports free-threaded CPython
  • Loading branch information
jajhall authored Nov 27, 2024
2 parents 7ae32fa + 2c9e304 commit 9567bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/highs_bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ HighsStatus highs_setCallback(
data.ptr());
}

PYBIND11_MODULE(_core, m) {
PYBIND11_MODULE(_core, m, py::mod_gil_not_used()) {
// To keep a smaller diff, for reviewers, the declarations are not moved, but
// keep in mind:
// C++ enum classes :: don't need .export_values()
Expand Down

0 comments on commit 9567bac

Please sign in to comment.