[issue46047] When using Py_NewInterpreter, some modules fail to import in Python 3.10

2021-12-11 Thread Jonas Witschel
Jonas Witschel added the comment: I notice this has already been reported as bpo-46006 and bpo-46034, so closing in favour of these. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue46047] When using Py_NewInterpreter, some modules fail to import in Python 3.10

2021-12-11 Thread Jonas Witschel
Jonas Witschel added the comment: Downstream bug report in Arch Linux: https://bugs.archlinux.org/task/72979 -- ___ Python tracker ___

[issue46047] When using Py_NewInterpreter, some modules fail to import in Python 3.10

2021-12-11 Thread Jonas Witschel
New submission from Jonas Witschel : Consider the following minimal example C code which is trying to import jsonschema (https://python-jsonschema.readthedocs.io/en/stable/), compiled using "gcc test_newinterpreter.c -I /usr/include/python3.10 -lpython3.10 -o test_newinterpreter" or similar: