From bfbb59d17414d11c9fe37ddf5a4083c868afa685 Mon Sep 17 00:00:00 2001 From: Charles PIGNEROL <> Date: Wed, 2 Sep 2026 10:44:36 +0200 Subject: [PATCH] Version 6.3.1. Fix for the exception name in the generated script. --- cmake/version.cmake | 2 +- src/PythonUtil/PythonLogOutputStream.cpp | 2 +- versions.txt | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cmake/version.cmake b/cmake/version.cmake index f602481..7b36432 100644 --- a/cmake/version.cmake +++ b/cmake/version.cmake @@ -4,6 +4,6 @@ set (PYTHON_UTIL_MAJOR_VERSION "6") set (PYTHON_UTIL_MINOR_VERSION "3") -set (PYTHON_UTIL_RELEASE_VERSION "0") +set (PYTHON_UTIL_RELEASE_VERSION "1") set (PYTHON_UTIL_VERSION ${PYTHON_UTIL_MAJOR_VERSION}.${PYTHON_UTIL_MINOR_VERSION}.${PYTHON_UTIL_RELEASE_VERSION}) diff --git a/src/PythonUtil/PythonLogOutputStream.cpp b/src/PythonUtil/PythonLogOutputStream.cpp index 02fd936..af63c13 100644 --- a/src/PythonUtil/PythonLogOutputStream.cpp +++ b/src/PythonUtil/PythonLogOutputStream.cpp @@ -369,7 +369,7 @@ void PythonLogOutputStream::closeUtilExcTryBlock ( ) { closeBlock ( ); #if PY_VERSION_HEX >= 0x03000000 // v 5.6.2 - write (UTF8String ("except Exception as re :", charset)); + write (UTF8String ("except Exception as exc :", charset)); #else // #if PY_VERSION_HEX >= 0x03000000 write (UTF8String ("except Exception , exc :", charset)); #endif // #if PY_VERSION_HEX >= 0x03000000 diff --git a/versions.txt b/versions.txt index e2c13e7..2ac09c0 100644 --- a/versions.txt +++ b/versions.txt @@ -1,3 +1,10 @@ +Version 6.3.1 : 02/09/26 +=============== + +Correctif PythonLogOutputStream::closeUtilExcTryBlock : remplacement du nom de l'exception (re) par exc +pour correspondre au nom donné dans except. + + Version 6.3.0 : 28/08/26 ===============