summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Include
diff options
context:
space:
mode:
authorAlexSm <[email protected]>2024-02-12 10:25:32 +0100
committerGitHub <[email protected]>2024-02-12 10:25:32 +0100
commit12610a7bf38a4f1215aeb6eeea5e27e271c17e50 (patch)
treefce5b3816c5d68d91d7f1f6617c65b04e92f79a9 /contrib/tools/python3/src/Include
parentb314cf4cbae67afc30e1f9c2f14047de0ad996cb (diff)
parent6a0655781d6103303eed0d377c3fb0955e468b5b (diff)
Merge pull request #1777 from alexv-smirnov/mergelibs13
Library import 13
Diffstat (limited to 'contrib/tools/python3/src/Include')
-rw-r--r--contrib/tools/python3/src/Include/internal/pycore_ast_state.h4
-rw-r--r--contrib/tools/python3/src/Include/patchlevel.h4
-rw-r--r--contrib/tools/python3/src/Include/pyconfig.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/contrib/tools/python3/src/Include/internal/pycore_ast_state.h b/contrib/tools/python3/src/Include/internal/pycore_ast_state.h
index f15b4905eed..d354822e1d1 100644
--- a/contrib/tools/python3/src/Include/internal/pycore_ast_state.h
+++ b/contrib/tools/python3/src/Include/internal/pycore_ast_state.h
@@ -12,8 +12,8 @@ extern "C" {
struct ast_state {
int initialized;
- int recursion_depth;
- int recursion_limit;
+ int unused_recursion_depth;
+ int unused_recursion_limit;
PyObject *AST_type;
PyObject *Add_singleton;
PyObject *Add_type;
diff --git a/contrib/tools/python3/src/Include/patchlevel.h b/contrib/tools/python3/src/Include/patchlevel.h
index 7acea937034..a4cb683c47f 100644
--- a/contrib/tools/python3/src/Include/patchlevel.h
+++ b/contrib/tools/python3/src/Include/patchlevel.h
@@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 11
-#define PY_MICRO_VERSION 7
+#define PY_MICRO_VERSION 8
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0
/* Version as a string */
-#define PY_VERSION "3.11.7"
+#define PY_VERSION "3.11.8"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
diff --git a/contrib/tools/python3/src/Include/pyconfig.h b/contrib/tools/python3/src/Include/pyconfig.h
index 690b04645bf..1887b6a0101 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