summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Include/cpython
diff options
context:
space:
mode:
authorshadchin <[email protected]>2026-05-07 07:27:37 +0300
committershadchin <[email protected]>2026-05-07 07:57:26 +0300
commitcdd663c58847eced4c810b05edda251c70a10438 (patch)
tree268b4bf9860a9c77564d93a803d7ecfedd3586cd /contrib/tools/python3/Include/cpython
parentb6f47db70a8a8e904e3f38bed557097ff00f0b3b (diff)
Update Python 3 to 3.13.13
commit_hash:526db1f6570443324e2690db042314848cd47d2e
Diffstat (limited to 'contrib/tools/python3/Include/cpython')
-rw-r--r--contrib/tools/python3/Include/cpython/pyatomic.h4
-rw-r--r--contrib/tools/python3/Include/cpython/pyatomic_std.h2
-rw-r--r--contrib/tools/python3/Include/cpython/pystate.h2
3 files changed, 5 insertions, 3 deletions
diff --git a/contrib/tools/python3/Include/cpython/pyatomic.h b/contrib/tools/python3/Include/cpython/pyatomic.h
index 28029859d3d..71e91c8964b 100644
--- a/contrib/tools/python3/Include/cpython/pyatomic.h
+++ b/contrib/tools/python3/Include/cpython/pyatomic.h
@@ -72,8 +72,8 @@
// def _Py_atomic_load_ptr_acquire(obj):
// return obj # acquire
//
-// def _Py_atomic_store_ptr_release(obj):
-// return obj # release
+// def _Py_atomic_store_ptr_release(obj, value):
+// obj = value # release
//
// def _Py_atomic_fence_seq_cst():
// # sequential consistency
diff --git a/contrib/tools/python3/Include/cpython/pyatomic_std.h b/contrib/tools/python3/Include/cpython/pyatomic_std.h
index 7c71e94c68f..ab3a4e1c74c 100644
--- a/contrib/tools/python3/Include/cpython/pyatomic_std.h
+++ b/contrib/tools/python3/Include/cpython/pyatomic_std.h
@@ -459,7 +459,7 @@ static inline uint16_t
_Py_atomic_load_uint16(const uint16_t *obj)
{
_Py_USING_STD;
- return atomic_load((const _Atomic(uint32_t)*)obj);
+ return atomic_load((const _Atomic(uint16_t)*)obj);
}
static inline uint32_t
diff --git a/contrib/tools/python3/Include/cpython/pystate.h b/contrib/tools/python3/Include/cpython/pystate.h
index 63e78259f3e..04f002772c6 100644
--- a/contrib/tools/python3/Include/cpython/pystate.h
+++ b/contrib/tools/python3/Include/cpython/pystate.h
@@ -200,6 +200,8 @@ struct _ts {
The PyThreadObject must hold the only reference to this value.
*/
PyObject *threading_local_sentinel;
+
+ _PyStackChunk *datastack_cached_chunk;
};
#ifdef Py_DEBUG