Author vstinner
Recipients eryksun, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2020-01-21.18:16:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I checked the doc: _putenv("VAR=") removes the environment variable "VAR". It's well documented:

"You can remove a variable from the environment by specifying an empty value_string, or in other words, by specifying only varname=."

So Python 3.8 os._unsetenv() is correct, but this function was not exposed, and so this issue remains relevant: Python 3.8 documents that os.unsetenv() is available on Windows, but it's not.
Date User Action Args
2020-01-21 18:16:30vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, eryksun, steve.dower
2020-01-21 18:16:30vstinnersetmessageid: <>
2020-01-21 18:16:30vstinnerlinkissue39413 messages
2020-01-21 18:16:30vstinnercreate