Clean up listing of what modules are deprecated and thus should go from Py3K.

This commit is contained in:
Brett Cannon 2007-05-16 04:31:51 +00:00
parent 80ceb20a67
commit 24fa739905
3 changed files with 41 additions and 20 deletions

View File

@ -188,6 +188,36 @@ Deprecated modules
Date: 12-Jan-2007
Documentation: Documented as deprecated as of Python 2.6.
Module name: buildtools
Rationale: Unknown.
Date: 15-May-2007
Documentation: Documented as deprecated as of Python 2.3, but
listing in this PEP was neglected.
Module name: cfmfile
Rationale: Unknown.
Date: 15-May-2007
Documentation: Documented as deprecated as of Python 2.4, but
listing in this PEP was neglected.
Module name: macfs
Rationale: Unknown.
Date: 15-May-2007
Documentation: Documented as deprecated as of Python 2.3, but
listing in this PEP was neglected.
Module name: md5
Rationale: Replaced by the 'hashlib' module.
Date: 15-May-2007
Documentation: Documented as deprecated as of Python 2.5, but
listing in this PEP was neglected.
Module name: sha
Rationale: Replaced by the 'hashlib' module.
Date: 15-May-2007
Documentation: Documented as deprecated as of Python 2.5, but
listing in this PEP was neglected.
Undeprecated modules

View File

@ -210,10 +210,16 @@ To be removed:
- ``reconvert``, ``stringold``, ``xmllib``,
``pcre``, ``pypcre``, ``strop`` [all done]
+ see PEP 4 [#pep4]_
- ``posixfile``, ``pre``, ``regsub``, ``rfc822``,
``statcache``, ``string``, ``TERMIOS``, ``mimetools``,
``MimeWriter``, ``mimify``, ``mpz``, ``rgbimage``
+ Everything in lib-old [#pep4]_
- ``cl``,
``gopherlib``,
``mimetools``, ``MimeWriter``, ``mimify``, ``mpz``,
``multifile``,
``posixfile``,
``pre``, ``regsub``, ``rfc822``, ``rgbimage``,
``statcache``, ``string``, ``sv``, ``TERMIOS``,
``timing`` [to do]
- ``sets``, ``xreadlines``, ``rotor``, ``whrandom`` [done]
+ Everything in lib-old [#pep4]_ [done]
- ``Para``, ``addpack``, ``cmp``, ``cmpcache``, ``codehack``,
``dircmp``, ``dump``, ``find``, ``fmt``, ``grep``,
``lockfile``, ``newdir``, ``ni``, ``packmail``, ``poly``,

View File

@ -71,25 +71,10 @@ PEP 4 lists all modules that have been deprecated in the stdlib
[#pep-0004]_. All modules listed in the PEP at the time of the first
alpha release of Python 3.0 will be removed.
The entire contents of libold will also be removed. These modules
The entire contents of lib-old will also be removed. These modules
have already been removed from being imported but are kept in the
distribution for Python for users that rely upon the code.
On top of the modules listed in PEP 4, other modules have been
documented as deprecated but have yet to be added to PEP 4.
============== ==========
Module Deprecated
============== ==========
buildtools 2.3
cfmfile 2.4
macfs 2.3
md5 2.5 [done]
sha 2.5 [done]
strop unknown [done]
xmllib unknown [done]
============== ==========
Platform-specific with minimal use
----------------------------------