Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f51170c5
Commit
f51170c5
authored
Jun 18, 2013
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17177: Clarify some deprecations
parent
ce1dceb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
Doc/library/imp.rst
Doc/library/imp.rst
+11
-3
No files found.
Doc/library/imp.rst
View file @
f51170c5
...
...
@@ -103,8 +103,10 @@ This module provides an interface to the mechanisms used to implement the
using a :keyword:`try` ... :keyword:`finally` statement.
.. deprecated:: 3.3
Unneeded as loaders should be used to load modules and
:func:`find_module` is deprecated.
If previously used in conjunction with :func:`imp.find_module` then
call ``load_module()`` on the returned loader. If you wish to load a
module from a specific file, then use one of the file-based loaders found
in :mod:`importlib.machinery`.
.. function:: new_module(name)
...
...
@@ -233,7 +235,7 @@ file paths.
magic number, as returned by :func:`get_magic`.
.. deprecated:: 3.4
You may u
se :attr:`sys.implementation.cache_tag` directly starting
U
se :attr:`sys.implementation.cache_tag` directly starting
in Python 3.3.
...
...
@@ -261,6 +263,8 @@ that circular imports work without any deadlocks.
the most part. A global import lock is kept for some critical tasks,
such as initializing the per-module locks.
.. deprecated:: 3.4
.. function:: acquire_lock()
...
...
@@ -279,6 +283,8 @@ that circular imports work without any deadlocks.
the most part. A global import lock is kept for some critical tasks,
such as initializing the per-module locks.
.. deprecated:: 3.4
.. function:: release_lock()
...
...
@@ -290,6 +296,8 @@ that circular imports work without any deadlocks.
the most part. A global import lock is kept for some critical tasks,
such as initializing the per-module locks.
.. deprecated:: 3.4
The following constants with integer values, defined in this module, are used
to indicate the search result of :func:`find_module`.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment