diff options
author | Georg Brandl <georg@python.org> | 2008-09-17 08:45:54 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-09-17 08:45:54 (GMT) |
commit | 4da1da094cae9417822083f97dfb9f4cc5e912a1 (patch) | |
tree | 2874228e2bd76291cf50b6b0082fa18f531e5512 | |
parent | 6be425c85f1c0279e62bb22a2445f862b930e966 (diff) | |
download | cpython-4da1da094cae9417822083f97dfb9f4cc5e912a1.zip cpython-4da1da094cae9417822083f97dfb9f4cc5e912a1.tar.gz cpython-4da1da094cae9417822083f97dfb9f4cc5e912a1.tar.bz2 |
#3888: add some deprecated modules in whatsnew.
-rw-r--r-- | Doc/whatsnew/2.6.rst | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 7a9035e..24e41a8 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -1794,7 +1794,6 @@ changes, or look through the Subversion logs for all the details. :mod:`mimetools`, :mod:`multifile`, :mod:`new`, - :mod:`popen2`, :mod:`pure`, :mod:`statvfs`, :mod:`sunaudiodev`, @@ -2132,6 +2131,15 @@ changes, or look through the Subversion logs for all the details. (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 @@ changes, or look through the Subversion logs for all the details. 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 @@ changes, or look through the Subversion logs for all the details. 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 @@ changes, or look through the Subversion logs for all the details. 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 |