This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients serhiy.storchaka, vstinner
Date 2020-01-24.13:12:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On non-Windows platforms, Python now requires setenv() and unsetenv()
functions to build.

setenv() and unsetenv() should be available on all platforms supported by Python. If it's not the case, someone can maintain a downstream patch which is a revert of commit b8d1262e8afe7b907b4a394a191739571092acdb.

If someone asks to support a platform which doesn't provide setenv() and unsetenv(), we can revisit the idea of unsetting variables set by Python at exit, to workaround putenv() issue: something like my (abandonned) PR 18078.
Date User Action Args
2020-01-24 13:12:09vstinnersetrecipients: + vstinner, serhiy.storchaka
2020-01-24 13:12:09vstinnersetmessageid: <>
2020-01-24 13:12:09vstinnerlinkissue39395 messages
2020-01-24 13:12:09vstinnercreate