From 7e5f43941a31219aa7eb283589cd081882dbb29d Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Thu, 4 Jun 2026 10:41:42 +0000 Subject: [PATCH] compatibility fix for Python < v3.13 --- mmgen/cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmgen/cfg.py b/mmgen/cfg.py index f47fd01c..6bfca990 100755 --- a/mmgen/cfg.py +++ b/mmgen/cfg.py @@ -228,7 +228,7 @@ class Config(Lockable): enable_erigon = False autochg_ignore_labels = False autosign = False - threaded_python = not sys._is_gil_enabled() + threaded_python = sys.version_info.minor > 12 and not sys._is_gil_enabled() aes_backend = 'cryptography' # regtest: