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 paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2020-01-21.14:39:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579617560.05.0.467186991348.issue39413@roundup.psfhosted.org>
In-reply-to
Content
os.unsetenv() is documented to be available on Windows, but it's not.

In Python 3.8, "del os.environ[key]" is implemented as:

   os.putenv(key.upper(), "")

Attached PR implements it using SetEnvironmentVariableW(name, NULL).
History
Date User Action Args
2020-01-21 14:39:20vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower
2020-01-21 14:39:20vstinnersetmessageid: <1579617560.05.0.467186991348.issue39413@roundup.psfhosted.org>
2020-01-21 14:39:19vstinnerlinkissue39413 messages
2020-01-21 14:39:19vstinnercreate