| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…-109994) This change makes sure sys.path[0] is set properly for subinterpreters. Before, it wasn't getting set at all. This change does not address the broader concerns from pythongh-109853. (cherry-picked from commit a040a32)
| Back | FazBrowse Home | New Git URL |
This change makes sure sys.path[0] is set properly for subinterpreters. Before, it wasn't getting set at all.
This change does not address the broader concerns from gh-109853.
Note that here, unlike in main, we do not add PyConfig.sys_path_0, since that changes the ABI. Instead, we add _PyRuntimeState.sys_path_0.
(cherry-picked from commit a040a32)