[Python-checkins] r66485 - python/trunk/Doc/whatsnew/2.6.rst

georg.brandl python-checkins at python.org
Wed Sep 17 10:45:55 CEST 2008


Author: georg.brandl
Date: Wed Sep 17 10:45:54 2008
New Revision: 66485

Log:
#3888: add some deprecated modules in whatsnew.


Modified:
   python/trunk/Doc/whatsnew/2.6.rst

Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst	(original)
+++ python/trunk/Doc/whatsnew/2.6.rst	Wed Sep 17 10:45:54 2008
@@ -1794,7 +1794,6 @@
   :mod:`mimetools`,
   :mod:`multifile`,
   :mod:`new`,
-  :mod:`popen2`,
   :mod:`pure`,
   :mod:`statvfs`,
   :mod:`sunaudiodev`,
@@ -2132,6 +2131,15 @@
 
   (Contributed by Christian Heimes and Mark Dickinson.)
 
+* The :mod:`MimeWriter` module has been deprecated; use the email
+  package instead.
+
+* The :mod:`mimify` module has been deprecated; use the email package
+  instead.
+
+* The :mod:`md5` module has been deprecated; use the hashlib module
+  instead.
+
 * :class:`mmap` objects now have a :meth:`rfind` method that searches for a
   substring beginning at the end of the string and searching
   backwards.  The :meth:`find` method also gained an *end* parameter
@@ -2214,6 +2222,9 @@
   and can optionally take new command-line arguments for the program.
   (Contributed by Rocky Bernstein; :issue:`1393667`.)
 
+* The :mod:`posixfile` module has been deprecated; :func:`fcntl.lockf`
+  provides better locking.
+
   The :func:`post_mortem` function, used to begin debugging a
   traceback, will now use the traceback returned by :func:`sys.exc_info`
   if no traceback is supplied.   (Contributed by Facundo Batista;
@@ -2224,6 +2235,9 @@
   opcodes, returning a shorter pickle that contains the same data structure.
   (Contributed by Raymond Hettinger.)
 
+* The :mod:`popen2` module has been deprecated; use the subprocess
+  module.
+
 * A :func:`get_data` function was added to the :mod:`pkgutil`
   module that returns the contents of resource files included
   with an installed Python package.  For example::
@@ -2286,6 +2300,9 @@
   will now ignore exceptions triggered while evaluating a name.
   (Fixed by Lorenz Quack; :issue:`2250`.)
 
+* The :mod:`sha` module has been deprecated; use the hashlib module
+  instead.
+
 * The :mod:`sched` module's :class:`scheduler` instances now
   have a read-only :attr:`queue` attribute that returns the
   contents of the scheduler's queue, represented as a list of


More information about the Python-checkins mailing list