mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Python3: update to 3.12.8
ref: https://docs.python.org/release/3.12.8/whatsnew/changelog.html#python-3-12-8
This commit is contained in:
parent
d552376ff5
commit
389a96089a
@ -3,8 +3,8 @@
|
||||
|
||||
PKG_NAME="Python3"
|
||||
# When changing PKG_VERSION remember to sync PKG_PYTHON_VERSION!
|
||||
PKG_VERSION="3.12.7"
|
||||
PKG_SHA256="24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550"
|
||||
PKG_VERSION="3.12.8"
|
||||
PKG_SHA256="c909157bb25ec114e5869124cc2a9c4a4d4c1e957ca4ff553f1edc692101154e"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://www.python.org/"
|
||||
PKG_URL="https://www.python.org/ftp/python/${PKG_VERSION}/${PKG_NAME::-1}-${PKG_VERSION}.tar.xz"
|
||||
|
@ -39,9 +39,9 @@ index 7b6c9811a6..6d9527ddd0 100644
|
||||
test/test_tomllib/data \
|
||||
test/test_tomllib/data/invalid \
|
||||
@@ -2232,7 +2230,6 @@ TESTSUBDIRS= idlelib/idle_test \
|
||||
test/test_tomllib/data/valid/dates-and-times \
|
||||
test/test_tomllib/data/valid/multiline-basic-str \
|
||||
test/test_tools \
|
||||
test/test_tools/i18n_data \
|
||||
- test/test_ttk \
|
||||
test/test_unittest \
|
||||
test/test_unittest/testmock \
|
||||
|
@ -339,7 +339,7 @@ index 1337516aa59cbc..a25c3dcf9d09ea 100644
|
||||
PyMem_RawFree(interp);
|
||||
}
|
||||
}
|
||||
@@ -679,13 +685,6 @@ init_interpreter(PyInterpreterState *interp,
|
||||
@@ -679,14 +685,6 @@ init_interpreter(PyInterpreterState *interp,
|
||||
assert(next != NULL || (interp == runtime->interpreters.main));
|
||||
interp->next = next;
|
||||
|
||||
@ -350,9 +350,10 @@ index 1337516aa59cbc..a25c3dcf9d09ea 100644
|
||||
- _obmalloc_pools_INIT(interp->obmalloc.pools);
|
||||
- memcpy(&interp->obmalloc.pools.used, temp, sizeof(temp));
|
||||
- }
|
||||
_PyObject_InitState(interp);
|
||||
-
|
||||
// We would call _PyObject_InitState() at this point
|
||||
// if interp->feature_flags were alredy set.
|
||||
|
||||
_PyEval_InitState(interp, pending_lock);
|
||||
diff --git a/Tools/c-analyzer/cpython/ignored.tsv b/Tools/c-analyzer/cpython/ignored.tsv
|
||||
index 9f36c47ca7ea03..7bcca27ecc32f6 100644
|
||||
--- a/Tools/c-analyzer/cpython/ignored.tsv
|
||||
|
@ -25,9 +25,9 @@ index fb833ba61cbd9b..31a24d4a65aebf 100644
|
||||
/* Auto-thread-state API */
|
||||
status = _PyGILState_Init(interp);
|
||||
if (_PyStatus_EXCEPTION(status)) {
|
||||
@@ -658,6 +651,13 @@ pycore_create_interpreter(_PyRuntimeState *runtime,
|
||||
return status;
|
||||
}
|
||||
@@ -662,6 +655,13 @@ pycore_create_interpreter(_PyRuntimeState *runtime,
|
||||
// didn't depend on interp->feature_flags being set already.
|
||||
_PyObject_InitState(interp);
|
||||
|
||||
+ // initialize the interp->obmalloc state. This must be done after
|
||||
+ // the settings are loaded (so that feature_flags are set) but before
|
||||
@ -39,7 +39,7 @@ index fb833ba61cbd9b..31a24d4a65aebf 100644
|
||||
PyThreadState *tstate = _PyThreadState_New(interp);
|
||||
if (tstate == NULL) {
|
||||
return _PyStatus_ERR("can't make first thread");
|
||||
@@ -2059,14 +2059,6 @@ new_interpreter(PyThreadState **tstate_p, const PyInterpreterConfig *config)
|
||||
@@ -2072,14 +2072,6 @@ new_interpreter(PyThreadState **tstate_p, const PyInterpreterConfig *config)
|
||||
return _PyStatus_OK();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user