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 eryksun
Recipients astrosticks, eryksun, iritkatriel
Date 2022-01-30.04:50:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643518258.07.0.340880763621.issue44264@roundup.psfhosted.org>
In-reply-to
Content
This is just a point of clarification.

> my del did not change the environment variable

os.environ defines the __delitem__ method to call C unsetenv(). Thus `del os.environ[varname]` does unset the environment variable, at least at the level of the C runtime.
History
Date User Action Args
2022-01-30 04:50:58eryksunsetrecipients: + eryksun, iritkatriel, astrosticks
2022-01-30 04:50:58eryksunsetmessageid: <1643518258.07.0.340880763621.issue44264@roundup.psfhosted.org>
2022-01-30 04:50:58eryksunlinkissue44264 messages
2022-01-30 04:50:58eryksuncreate