Copy over PEP 4 reasoning for why modules should be removed.

This commit is contained in:
Brett Cannon 2008-04-29 00:37:53 +00:00
parent 593532786b
commit 156721fdef
1 changed files with 33 additions and 1 deletions

View File

@ -69,7 +69,8 @@ Previously deprecated
--------------------- ---------------------
PEP 4 lists all modules that have been deprecated in the stdlib PEP 4 lists all modules that have been deprecated in the stdlib
(including motivation as to why) [#pep-0004]_. All modules listed [#pep-0004]_. The specified motivations mirror those listed in
PEP 4. All modules listed
in the PEP at the time of the first alpha release of Python 3.0 will in the PEP at the time of the first alpha release of Python 3.0 will
be removed. be removed.
@ -79,30 +80,61 @@ distribution for Python for users that rely upon the code.
* buildtools * buildtools
+ Documented as deprecated since Python 2.3 without an explicit
reason.
* cfmfile * cfmfile
+ Documented as deprecated since Python 2.4 without an explicit
reason.
* cl * cl
+ Documented as obsolete since Python 2.0 or earlier.
+ Interface to SGI hardware.
* md5 * md5
+ Supplanted by the ``hashlib`` module.
* mimetools * mimetools
+ Documented as obsolete without an explicit reason.
* MimeWriter * MimeWriter
+ Supplaned by the ``email`` package.
* mimify * mimify
+ Supplanted by the ``email`` package.
* multifile * multifile
+ Supplanted by the ``email`` package.
* posixfile * posixfile
+ Locking is better done by ``fcntl.lockf()``.
* rfc822 * rfc822
+ Supplanted by the ``email`` package.
* sha * sha
+ Supplanted by the ``hashlib`` package.
* sv * sv
+ Documented as obsolete since Python 2.0 or earlier.
+ Interface to obsolete SGI Indigo hardware.
* timing * timing
+ Documented as obsolete since Python 2.0 or earlier.
+ ``time.clock()`` gives better time resolution.
Platform-specific with minimal use Platform-specific with minimal use
---------------------------------- ----------------------------------