]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-132775: Support Fallbacks in _PyObject_GetXIData() (gh-134418)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 May 2025 14:47:56 +0000 (16:47 +0200)
committerGitHub <noreply@github.com>
Wed, 21 May 2025 14:47:56 +0000 (14:47 +0000)
commit2ffc10bd3988c244b658f7e5c97807a938264664
tree4e31e43e9256b1b694a08360fcd2beb173cecbbc
parentcd3395a8b10f6bab912670e1d47d432aa2a21e71
[3.14] gh-132775: Support Fallbacks in _PyObject_GetXIData() (gh-134418)

It now supports a "full" fallback to _PyFunction_GetXIData() and then `_PyPickle_GetXIData()`.
There's also room for other fallback modes if that later makes sense.

(cherry picked from commit 88f8102a8f, AKA gh-133482)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
12 files changed:
Doc/data/python3.14.abi
Include/internal/pycore_crossinterp.h
Include/internal/pycore_crossinterp_data_registry.h
Lib/test/support/import_helper.py
Lib/test/test_crossinterp.py
Modules/_interpchannelsmodule.c
Modules/_interpqueuesmodule.c
Modules/_interpreters_common.h
Modules/_interpretersmodule.c
Modules/_testinternalcapi.c
Python/crossinterp.c
Python/crossinterp_data_lookup.h