Skip to content

Commit 4eab6d1

Browse files
committed
refs qorelanguage/issues#4405 fixed a regression
1 parent c6800f5 commit 4eab6d1

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ project(qore-python-module)
33

44
set (VERSION_MAJOR 1)
55
set (VERSION_MINOR 1)
6-
set (VERSION_PATCH 3)
6+
set (VERSION_PATCH 4)
77

88
set(PROJECT_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
99

docs/mainpage.dox.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,10 @@ PythonProgram::setSaveObjectCallback(callback);
500500
501501
@section pythonreleasenotes python Module Release Notes
502502
503+
@subsection python_1_1_4 python Module Version 1.1.4
504+
- another fix handling subinterpreters
505+
(<a href="https://github.com/qorelanguage/qore/issues/4405">issue 4405</a>)
506+
503507
@subsection python_1_1_3 python Module Version 1.1.3
504508
- @ref Python::PythonProgram::evalExpression() "PythonProgram::evalExpression()" not able to reference
505509
symbols in the program

qore-python-module.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
%global user_module_dir %{mydatarootdir}/qore-modules/
66

77
Name: qore-python-module
8-
Version: 1.1.3
8+
Version: 1.1.4
99
Release: 1
1010
Summary: Qorus Integration Engine - Qore Python module
1111
License: MIT
@@ -55,6 +55,9 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
5555
%{module_dir}
5656

5757
%changelog
58+
* Tue Jan 26 2022 David Nichols <david@qore.org>
59+
- updated to version 1.1.4
60+
5861
* Thu Jan 20 2022 David Nichols <david@qore.org>
5962
- updated to version 1.1.3
6063

src/QorePythonProgram.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,9 @@ void QorePythonProgram::deleteIntern(ExceptionSink* xsink) {
371371
valid = false;
372372
}
373373
if (interpreter && owns_interpreter) {
374+
// grab the GIL with the main thread lock
375+
QorePythonGilHelper pgh;
374376
{
375-
// grab the GIL with the main thread lock
376-
QorePythonGilHelper pgh;
377-
378377
// enforce serialization
379378
AutoLocker al(py_thr_lck);
380379

0 commit comments

Comments
 (0)