STINNER Victor <vstin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue42260> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com