I can confirm this resolves the issue of embedded interpreters crashing (tested with Kodi).
Versions used:
ii libpython3-dev:amd64 3.10.6-1~22.04 amd64 header files and a static library for Python (default)
ii libpython3-stdlib:amd64 3.10.6-1~22.04 amd64 interactive high-level object-oriented language (default python3 version)
ii libpython3.10:amd64 3.10.6-1~22.04 amd64 Shared Python runtime library (version 3.10)
ii libpython3.10-dev:amd64 3.10.6-1~22.04 amd64 Header files and a static library for Python (v3.10)
ii libpython3.10-minimal:amd64 3.10.6-1~22.04 amd64 Minimal subset of the Python language (version 3.10)
ii libpython3.10-stdlib:amd64 3.10.6-1~22.04 amd64 Interactive high-level object-oriented language (standard library, version 3.10)
ii python3 3.10.6-1~22.04 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-dev 3.10.6-1~22.04 amd64 header files and a static library for Python (default)
ii python3-distutils 3.10.6-1~22.04 all distutils package for Python 3.x
ii python3-lib2to3 3.10.6-1~22.04 all Interactive high-level object-oriented language (lib2to3)
ii python3-minimal 3.10.6-1~22.04 amd64 minimal subset of the Python language (default python3 version)
ii python3-venv 3.10.6-1~22.04 amd64 venv module for python3 (default python3 version)
ii python3.10 3.10.6-1~22.04 amd64 Interactive high-level object-oriented language (version 3.10)
ii python3.10-dev 3.10.6-1~22.04 amd64 Header files and a static library for Python (v3.10)
ii python3.10-minimal 3.10.6-1~22.04 amd64 Minimal subset of the Python language (version 3.10)
ii python3.10-venv 3.10.6-1~22.04 amd64 Interactive high-level object-oriented language (pyvenv binary, version 3.10)
I can confirm this resolves the issue of embedded interpreters crashing (tested with Kodi).
Versions used: dev:amd64 3.10.6-1~22.04 amd64 header files and a static library for Python (default) stdlib: amd64 3.10.6-1~22.04 amd64 interactive high-level object-oriented language (default python3 version) 10-dev: amd64 3.10.6-1~22.04 amd64 Header files and a static library for Python (v3.10) 10-minimal: amd64 3.10.6-1~22.04 amd64 Minimal subset of the Python language (version 3.10) 10-stdlib: amd64 3.10.6-1~22.04 amd64 Interactive high-level object-oriented language (standard library, version 3.10)
ii libpython3-
ii libpython3-
ii libpython3.10:amd64 3.10.6-1~22.04 amd64 Shared Python runtime library (version 3.10)
ii libpython3.
ii libpython3.
ii libpython3.
ii python3 3.10.6-1~22.04 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-dev 3.10.6-1~22.04 amd64 header files and a static library for Python (default)
ii python3-distutils 3.10.6-1~22.04 all distutils package for Python 3.x
ii python3-lib2to3 3.10.6-1~22.04 all Interactive high-level object-oriented language (lib2to3)
ii python3-minimal 3.10.6-1~22.04 amd64 minimal subset of the Python language (default python3 version)
ii python3-venv 3.10.6-1~22.04 amd64 venv module for python3 (default python3 version)
ii python3.10 3.10.6-1~22.04 amd64 Interactive high-level object-oriented language (version 3.10)
ii python3.10-dev 3.10.6-1~22.04 amd64 Header files and a static library for Python (v3.10)
ii python3.10-minimal 3.10.6-1~22.04 amd64 Minimal subset of the Python language (version 3.10)
ii python3.10-venv 3.10.6-1~22.04 amd64 Interactive high-level object-oriented language (pyvenv binary, version 3.10)