Message56048
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). |
| File name |
Uploaded |
|
os.py.patch
|
horcicka,
2007-09-19.21:38:22
|
|
| Date |
User |
Action |
Args |
| 2007-09-19 21:38:22 | horcicka | set | spambayes_score: 0.0341717 -> 0.0341717 recipients:
+ horcicka |
| 2007-09-19 21:38:22 | horcicka | set | spambayes_score: 0.0341717 -> 0.0341717 messageid: <1190237902.57.0.871382719483.issue1181@psf.upfronthosting.co.za> |
| 2007-09-19 21:38:22 | horcicka | link | issue1181 messages |
| 2007-09-19 21:38:22 | horcicka | create | |
|