aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2024-01-31 14:02:52 +0300
committerAlexander Smirnov <alex@ydb.tech>2024-02-09 19:16:34 +0300
commitb35f714f9f7356e2b91ce31ceda6faeec7fd2a45 (patch)
treea8d66e894a2a3fc5beee1a495a3453a0abcddef3 /contrib/tools/python3/src
parent0eaa5f79df5eb0b368f46d11b7c7c844b396a4e4 (diff)
downloadydb-b35f714f9f7356e2b91ce31ceda6faeec7fd2a45.tar.gz
Fix fail with pydebug in tf (old)
Diffstat (limited to 'contrib/tools/python3/src')
-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