On 28 Jun., 04:05, Benjamin <musiccomposit... at gmail.com> wrote: > On Jun 27, 4:05 pm, "Joe P. Cool" <joe.p.c... at googlemail.com> wrote: > This is because of how os.environ is implement with a UserDict > subclass. You should report this at bugs.python.org. issue 3227: os.environ.clear has no effect on child processes -- Joe