Amaury Forgeot d'Arc added the comment:
But... there is no os.unsetenv on Windows!
2.7 used to have one, which called os.putenv(key, "")
3.2 has a os._unsetenv, which is a lambda key: _putenv(key, "")
--
nosy: +amaury.forgeotdarc
___
Python tracker
New submission from STINNER Victor :
os.unsetenv(name) encodes name to UTF-8. I think that the ANSI code page (or
another code page?) should be used.
--
components: Unicode, Windows
messages: 147773
nosy: ezio.melotti, haypo
priority: normal
severity: normal
status: open
title: os.unset