[Python-checkins] CVS: python/dist/src/Misc NEWS,1.286,1.287
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 18 Oct 2001 18:32:01 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv3916/Misc
Modified Files:
NEWS
Log Message:
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?)
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.286
retrieving revision 1.287
diff -C2 -d -r1.286 -r1.287
*** NEWS 2001/10/18 20:34:25 1.286
--- NEWS 2001/10/19 01:31:59 1.287
***************
*** 47,58 ****
- 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
attributes.
--- 47,59 ----
- binascii has now two quopri support functions, a2b_qp and b2a_qp.
! - 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.