]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132775: Support Fallbacks in _PyObject_GetXIData() (gh-133482)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 21 May 2025 13:23:48 +0000 (07:23 -0600)
committerGitHub <noreply@github.com>
Wed, 21 May 2025 13:23:48 +0000 (07:23 -0600)
commit88f8102a8fd4a8dd81457f01507e9a8693b1d4b7
treea7851323637d8ac53441260ac0580e075c75ac3e
parent0c5a8b0b55238a45b9073d06a10c3a59568cdf3c
gh-132775: Support Fallbacks in _PyObject_GetXIData() (gh-133482)

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.
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