aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2024-01-31 14:02:52 +0300
committershadchin <shadchin@yandex-team.com>2024-01-31 14:27:09 +0300
commit0cfbe77fe20144cb4227faaff383bf192b83efd8 (patch)
treed812827abf07fcdff7901302b6822ba69d2cb2b6 /contrib/tools/python3
parent0ff1123e2bd6d1424be6f5d21ad6f390b4fd5ac8 (diff)
downloadydb-0cfbe77fe20144cb4227faaff383bf192b83efd8.tar.gz
Fix fail with pydebug in tf (old)
Diffstat (limited to 'contrib/tools/python3')
-rw-r--r--contrib/tools/python3/src/Include/pyconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tools/python3/src/Include/pyconfig.h b/contrib/tools/python3/src/Include/pyconfig.h
index 690b04645b..1887b6a010 100644
--- a/contrib/tools/python3/src/Include/pyconfig.h
+++ b/contrib/tools/python3/src/Include/pyconfig.h
@@ -43,7 +43,7 @@
#include "pyconfig-musl.h"
#endif
-#if !defined(NDEBUG) && !defined(Py_DEBUG) && !defined(Py_LIMITED_API)
+#if !defined(NDEBUG) && !defined(Py_DEBUG) && !defined(Py_LIMITED_API) && !defined(DISABLE_PYDEBUG)
#define Py_DEBUG
#define GC_NDEBUG
#endif