[issue42260] [C API] Add _PyInterpreterState_SetConfig(): reconfigure an interpreter
STINNER Victor
report at bugs.python.org
Tue Sep 21 17:56:32 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
The initial issue, adding an API to reconfigure an interepreter, is implemented: I added _PyInterpreterState_SetConfig().
But I failed finding time to finish the larger project "rewrite getpath.c in Python" (PR 23169). It requires changing the C API of the PEP 587 which is not easy. Also I'm not fully convinced that there is a strong need to change getpath.c.
I would be interested to move code from site.py to _getpath.py, but it's also not obvious if there a strong benefit.
----------
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
title: [C API] Add PyInterpreterState_SetConfig(): reconfigure an interpreter -> [C API] Add _PyInterpreterState_SetConfig(): reconfigure an interpreter
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42260>
_______________________________________
More information about the Python-bugs-list
mailing list