[3.7] bpo-34247: Fix Python 3.7 initialization by vstinner · Pull Request #8659 · python/cpython (original) (raw)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like _Py_Initialize_ReadEnvVarsNoAlloc
might be a better name here, as this doesn't read all the env vars, only the ones that it can process without needing to allocate any memory to store the results.
With the current name, it gives the impression it reads all the environment variables, when it actually skips over the more complex ones like PYTHONPATH
.