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 joe.p.cool
Recipients joe.p.cool
Date 2008-06-28.18:21:54
SpamBayes Score 0.025176443
Marked as misclassified No
Message-id <1214677315.57.0.385885068786.issue3227@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2008-06-28 18:21:55joe.p.coolsetspambayes_score: 0.0251764 -> 0.025176443
recipients: + joe.p.cool
2008-06-28 18:21:55joe.p.coolsetspambayes_score: 0.0251764 -> 0.0251764
messageid: <1214677315.57.0.385885068786.issue3227@psf.upfronthosting.co.za>
2008-06-28 18:21:54joe.p.coollinkissue3227 messages
2008-06-28 18:21:54joe.p.coolcreate