python3: upgrade to 3.13.16

Downloaded from https://www.python.org/ftp/python/3.13.16/Python-3.13.16.tar.xz

Change-Id: Ic86fd03f87d26a96f7eb4e350b3766ce0992cdbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211649
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
Xisco Fauli
2026-10-01 15:43:29 +02:00
parent b94e7a82c7
commit c80b6acef5
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -10834,7 +10834,7 @@ if test \( "$cross_compiling" = yes -a -z "$PYTHON_FOR_BUILD" \) -o "$enable_pyt
SYSTEM_PYTHON=
PYTHON_VERSION_MAJOR=3
PYTHON_VERSION_MINOR=13
PYTHON_VERSION=${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}.15
PYTHON_VERSION=${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}.16
if ! grep -q -i python.*${PYTHON_VERSION} ${SRC_ROOT}/download.lst; then
AC_MSG_ERROR([PYTHON_VERSION ${PYTHON_VERSION} but no matching file in download.lst])
fi
+2 -2
View File
@@ -581,8 +581,8 @@ POSTGRESQL_TARBALL := postgresql-15.19.tar.bz2
# three static lines
# so that git cherry-pick
# will not run into conflicts
PYTHON_SHA256SUM := 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76
PYTHON_TARBALL := Python-3.13.15.tar.xz
PYTHON_SHA256SUM := f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d
PYTHON_TARBALL := Python-3.13.16.tar.xz
# three static lines
# so that git cherry-pick
# will not run into conflicts
+3 -3
View File
@@ -61,7 +61,7 @@
PyObject *key, *value;
--- Parser/lexer/buffer.c
+++ Parser/lexer/buffer.c
@@ -27,8 +27,8 @@
@@ -29,8 +29,8 @@
for (index = tok->tok_mode_stack_index; index >= 0; --index) {
mode = &(tok->tok_mode_stack[index]);
@@ -69,6 +69,6 @@
- mode->f_string_multi_line_start = mode->f_string_multi_line_start_offset < 0 ? NULL : tok->buf + mode->f_string_multi_line_start_offset;
+ mode->f_string_start = mode->f_string_start_offset < 0 ? NULL : (char *) (((intptr_t) tok->buf) + mode->f_string_start_offset);
+ mode->f_string_multi_line_start = mode->f_string_multi_line_start_offset < 0 ? NULL : (char *) (((intptr_t) tok->buf) + mode->f_string_multi_line_start_offset);
mode->last_expr_start = mode->last_expr_start_offset < 0
? NULL : tok->buf + mode->last_expr_start_offset;
}
}