id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
530,bypass PYTHONHOME by Py_SetPythonHome() function,matysek,giovannibajo,"PYTHONHOME is used only during Py_Initialize() by getpath.c. I think you should set it in the bootloader immediately before calling Py_Initailize() and then immediately remove it from the environment. This way, you don't pollute the environment and if the application happens to invoke a standard python interpreter (python.exe), PYTHONHOME is not set there.

Also notice that in Python 3.2 there is a new Py_SetPath() function that we can call in the bootloader before calling Py_Initialize(). This function completely bypasses getpath.c and its semantics. So, if there exists a Py_SetPath() in the Python dynamic library, you should use that one instead of PYTHONHOME.",defect,closed,high,PyInstaller 2.1,Loader,develop,minor,fixed,"python 3, python3,",
