-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-39406: os.putenv() avoids putenv_dict on Windows #18126
Conversation
Windows: _wputenv(env) copies the *env* string and doesn't require the caller to manage the variable memory.
Only Unix putenv() requires the caller to manage the memory. On Windows, putenv() and _wputenv() are more regular function: they copy the string. |
|
Windows: _wputenv(env) copies the *env* string and doesn't require the caller to manage the variable memory.
Windows: _wputenv(env) copies the env string and doesn't require
the caller to manage the variable memory.
https://bugs.python.org/issue39406