summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-19 01:31:59 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-19 01:31:59 (GMT)
commitc524d952da928f745203876f2e67f651c2bc7246 (patch)
tree59686a72378708c6884596341bdd353d5ac3e4bf /Misc
parentb6c1d5239cfeadd761d2055cc44212f7a6b7e5af (diff)
downloadcpython-c524d952da928f745203876f2e67f651c2bc7246.zip
cpython-c524d952da928f745203876f2e67f651c2bc7246.tar.gz
cpython-c524d952da928f745203876f2e67f651c2bc7246.tar.bz2
SF patch #460805 by Chris Gonnerman: Support for unsetenv()
This adds unsetenv to posix, and uses it in the __delitem__ method of os.environ. (XXX Should we change the preferred name for putenv to setenv, for consistency?)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS17
1 files changed, 9 insertions, 8 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 257546d..a03bb09 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -46,14 +46,15 @@ Extension modules
- binascii has now two quopri support functions, a2b_qp and b2a_qp.
-- readline now supports setting the startup_hook and the pre_event_hook.
-
-- os and posix supports chroot() and setgroups() where available. The
- stat(), fstat(), statvfs() and fstatvfs() functions now return
- "pseudo-sequences" -- the various fields can now be accessed as
- attributes (e.g. os.stat("/").st_mtime) but for backwards
- compatibility they also behave as a fixed-length sequence. Some
- platform-specific fields (e.g. st_rdev) are only accessible as
+- readline now supports setting the startup_hook and the
+ pre_event_hook, and adds the add_history() function.
+
+- os and posix supports chroot(), setgroups() and unsetenv() where
+ available. The stat(), fstat(), statvfs() and fstatvfs() functions
+ now return "pseudo-sequences" -- the various fields can now be
+ accessed as attributes (e.g. os.stat("/").st_mtime) but for
+ backwards compatibility they also behave as a fixed-length sequence.
+ Some platform-specific fields (e.g. st_rdev) are only accessible as
attributes.
- time: localtime(), gmtime() and strptime() now return a