[Python-checkins] cpython: #17135: mark imp as deprecated as of 3.4.

r.david.murray python-checkins at python.org
Thu Apr 18 00:51:27 CEST 2013


http://hg.python.org/cpython/rev/f22c463ce73c
changeset:   83436:f22c463ce73c
user:        R David Murray <rdmurray at bitdance.com>
date:        Wed Apr 17 18:50:12 2013 -0400
summary:
  #17135: mark imp as deprecated as of 3.4.

files:
  Doc/library/imp.rst |  7 +++++--
  1 files changed, 5 insertions(+), 2 deletions(-)


diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst
--- a/Doc/library/imp.rst
+++ b/Doc/library/imp.rst
@@ -1,5 +1,8 @@
-:mod:`imp` --- Access the :keyword:`import` internals
-=====================================================
+:mod:`imp` --- Access the :ref:`import <importsystem>` internals
+================================================================
+
+.. deprecated:: 3.4
+   The :mod:`imp` package has been deprecated in favor of :mod:`importlib`.
 
 .. module:: imp
    :synopsis: Access the implementation of the import statement.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list