Message 56048 - Python tracker (original) (raw)

Message56048

Author martin.horcicka
Recipients martin.horcicka
Date 2007-09-19.21:38:22
SpamBayes Score 0.034171674
Marked as misclassified No
Message-id 1190237902.57.0.871382719483.issue1181@psf.upfronthosting.co.za
In-reply-to
Content
This patch makes os.environ.clear() to have the same effect as: for name in os.environ.keys(): del os.environ[name] I believe that most people expect the effects to be the same anyway. The practical benefit is a simpler redefinition of the whole environment if desired (e.g. in scripts run via sudo on unix systems).
Files
File name Uploaded
os.py.patch martin.horcicka,2007-09-19.21:38:22
History
Date User Action Args
2007-09-19 21:38:22 martin.horcicka set spambayes_score: 0.0341717 -> 0.034171674recipients: + martin.horcicka
2007-09-19 21:38:22 martin.horcicka set spambayes_score: 0.0341717 -> 0.0341717messageid: 1190237902.57.0.871382719483.issue1181@psf.upfronthosting.co.za
2007-09-19 21:38:22 martin.horcicka link issue1181 messages
2007-09-19 21:38:22 martin.horcicka create