Shift a deprecation from the porting section to the deprecation section.

This commit is contained in:
Brett Cannon 2012-09-25 15:23:07 -04:00
parent 3095f4724e
commit 288717a2ac
1 changed files with 9 additions and 5 deletions

View File

@ -1827,6 +1827,15 @@ Deprecated Python modules, functions and methods
* :class:`abc.abstractstaticmethod` has been deprecated, use * :class:`abc.abstractstaticmethod` has been deprecated, use
:class:`staticmethod` with :func:`abc.abstractmethod` instead. :class:`staticmethod` with :func:`abc.abstractmethod` instead.
* :mod:`imoprtlib` package:
* :meth:`importlib.abc.SourceLoader.path_mtime` is now deprecated in favour of
:meth:`importlib.abc.SourceLoader.path_stats` as bytecode files now store
both the modification time and size of the source file the bytecode file was
compiled from.
Deprecated functions and types of the C API Deprecated functions and types of the C API
@ -1958,11 +1967,6 @@ Porting Python code
:attr:`sys.path_importer_cache` where it repesents the use of implicit :attr:`sys.path_importer_cache` where it repesents the use of implicit
finders, but semantically it should not change anything. finders, but semantically it should not change anything.
* :meth:`importlib.abc.SourceLoader.path_mtime` is now deprecated in favour of
:meth:`importlib.abc.SourceLoader.path_stats` as bytecode files now store
both the modification time and size of the source file the bytecode file was
compiled from.
* :class:`importlib.abc.Finder` no longer specifies a `find_module()` abstract * :class:`importlib.abc.Finder` no longer specifies a `find_module()` abstract
method that must be implemented. If you were relying on subclasses to method that must be implemented. If you were relying on subclasses to
implement that method, make sure to check for the method's existence first. implement that method, make sure to check for the method's existence first.