[New-bugs-announce] [issue3227] os.environ.clear has no effect on child processes
Joe P. Cool
report at bugs.python.org
Sat Jun 28 20:21:55 CEST 2008
New submission from Joe P. Cool <joe.p.cool at googlemail.com>:
If I call os.environ.clear in a python program child processes still
see the cleared entries. But when I iterate over the keys like so
names = os.environ.keys()
for k in names:
del os.environ[k]
then the entries are also deleted for the child processes. Where is
the difference? Is this a bug? (Observed in Python 2.5.2)
--
Joe
----------
components: Library (Lib)
messages: 68891
nosy: joe.p.cool
severity: normal
status: open
title: os.environ.clear has no effect on child processes
versions: Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3227>
_______________________________________
More information about the New-bugs-announce
mailing list