List all the removes and renamed modules
This commit is contained in:
parent
9c5b51541c
commit
c72df3305f
|
@ -1467,11 +1467,36 @@ fixes. Here's a partial list of the most notable changes, sorted alphabetically
|
|||
by module name. Consult the :file:`Misc/NEWS` file in the source tree for a more
|
||||
complete list of changes, or look through the CVS logs for all the details.
|
||||
|
||||
* (3.0-warning mode) The :mod:`audiodev` module is being deprecated,
|
||||
and has been removed from Python 3.0, so importing it now triggers a
|
||||
warning. The module hasn't been maintained for several versions,
|
||||
and is written against an outdated sound interface for SunOS and
|
||||
IRIX.
|
||||
* (3.0-warning mode) Python 3.0 will feature a reorganized standard
|
||||
library; many outdated modules are being dropped,
|
||||
and some modules are being renamed or moved into packages.
|
||||
Python 2.6 running in 3.0-warning mode will warn about these modules
|
||||
when they are improved.
|
||||
|
||||
The list of deprecated modules that are removed in Python 3.0 is:
|
||||
:mod:`audiodev`,
|
||||
:mod:`Canvas`,
|
||||
:mod:`compiler`,
|
||||
:mod:`dircache`,
|
||||
:mod:`dl`,
|
||||
:mod:`fpformat`,
|
||||
:mod:`ihooks`,
|
||||
:mod:`imageop`,
|
||||
:mod:`linuxaudiodev`,
|
||||
:mod:`mhlib`,
|
||||
:mod:`multifile`,
|
||||
:mod:`new`
|
||||
:mod:`popen2`,
|
||||
:mod:`pure`,
|
||||
:mod:`sv`,
|
||||
:mod:`test.testall`,
|
||||
:mod:`toaiff`.
|
||||
|
||||
The modules that have been renamed are:
|
||||
|
||||
* :mod:`copy_reg` has become :mod:`copyreg`.
|
||||
* :mod:`SocketServer` has become :mod:`socketserver`.
|
||||
* :mod:`Queue` has become :mod:`queue`.
|
||||
|
||||
* The :mod:`bsddb.dbshelve` module now uses the highest pickling protocol
|
||||
available, instead of restricting itself to protocol 1.
|
||||
|
@ -1754,9 +1779,6 @@ complete list of changes, or look through the CVS logs for all the details.
|
|||
the forward search.
|
||||
(Contributed by John Lenton.)
|
||||
|
||||
* (3.0-warning mode) The :mod:`new` module has been removed from
|
||||
Python 3.0. Importing it therefore triggers a warning message.
|
||||
|
||||
* The :mod:`operator` module gained a
|
||||
:func:`methodcaller` function that takes a name and an optional
|
||||
set of arguments, returning a callable that will call
|
||||
|
|
Loading…
Reference in New Issue