Skip to content

Commit

Permalink
Do not rely on Python 3.10 function PyErr_SetInterruptEx.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Jun 16, 2024
1 parent 11472e0 commit 54c42a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client_server/Server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ void Server::stop_block()
{
// interrupt_block=true;
std::cerr << "Server: sending SIGINT to python thread." << std::endl;
PyErr_SetInterruptEx(SIGINT);
PyErr_SetInterrupt();

// PyGILState_STATE state = PyGILState_Ensure();
// // PyThreadState_SetAsyncExc ?
Expand Down
2 changes: 1 addition & 1 deletion cmake/version.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set(CADABRA_VERSION_MAJOR 2)
set(CADABRA_VERSION_MINOR 5)
set(CADABRA_VERSION_PATCH 2)
set(CADABRA_VERSION_TWEAK 0)
set(CADABRA_VERSION_TWEAK 1)
set(COPYRIGHT_YEARS "2001-2024")
math(EXPR SYSTEM_BITS "${CMAKE_SIZEOF_VOID_P} * 8")
find_program(GIT git PATHS ${GIT_DIR})
Expand Down

0 comments on commit 54c42a8

Please sign in to comment.