STINNER Victor <vstin...@python.org> added the comment:
If we remove Modules/getpath.c, it will no longer be possible to automatically computes the path configuration when one of the following getter function will be called: * Py_GetPath() * Py_GetPrefix() * Py_GetExecPrefix() * Py_GetProgramFullPath() * Py_GetPythonHome() * Py_GetProgramName() It means that these functions would not return NULL if called before Python is initialiazed, but return the expected string once Python is initialized. Moreover, Py_SetPath() would no longer automatically computes the "program full path" (sys.executable). ---------- _______________________________________ 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