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
20367420
Commit
20367420
authored
Dec 07, 2016
by
Steve Dower
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #28896: Deprecate WindowsRegistryFinder
parent
eae64fda
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
0 deletions
+21
-0
Doc/library/importlib.rst
Doc/library/importlib.rst
+4
-0
Doc/using/windows.rst
Doc/using/windows.rst
+8
-0
Doc/whatsnew/3.6.rst
Doc/whatsnew/3.6.rst
+4
-0
Misc/NEWS
Misc/NEWS
+5
-0
No files found.
Doc/library/importlib.rst
View file @
20367420
...
@@ -806,6 +806,10 @@ find and load modules.
...
@@ -806,6 +806,10 @@ find and load modules.
.. versionadded:: 3.3
.. versionadded:: 3.3
.. deprecated:: 3.6
Use :mod:`site` configuration instead. Future versions of Python may
not enable this finder by default.
.. class:: PathFinder
.. class:: PathFinder
...
...
Doc/using/windows.rst
View file @
20367420
...
@@ -823,6 +823,14 @@ non-standard paths in the registry and user site-packages.
...
@@ -823,6 +823,14 @@ non-standard paths in the registry and user site-packages.
* Adds ``pythonXX.zip`` as a potential landmark when directly adjacent
* Adds ``pythonXX.zip`` as a potential landmark when directly adjacent
to the executable.
to the executable.
.. deprecated::
3.6
Modules specified in the registry under ``Modules`` (not ``PythonPath``)
may be imported by :class:`importlib.machinery.WindowsRegistryFinder`.
This finder is enabled on Windows in 3.6.0 and earlier, but may need to
be explicitly added to :attr:`sys.meta_path` in the future.
Additional modules
Additional modules
==================
==================
...
...
Doc/whatsnew/3.6.rst
View file @
20367420
...
@@ -1938,6 +1938,10 @@ are now deprecated. They were the only remaining implementations of
...
@@ -1938,6 +1938,10 @@ are now deprecated. They were the only remaining implementations of
been deprecated in previous versions of Python in favour of
been deprecated in previous versions of Python in favour of
:meth:`importlib.abc.Loader.exec_module`.
:meth:`importlib.abc.Loader.exec_module`.
The :class:`importlib.machinery.WindowsRegistryFinder` class is now
deprecated. As of 3.6.0, it is still added to :attr:`sys.meta_path` by
default (on Windows), but this may change in future releases.
os
os
~~
~~
...
...
Misc/NEWS
View file @
20367420
...
@@ -22,6 +22,11 @@ Library
...
@@ -22,6 +22,11 @@ Library
- Issue #28847: dbm.dumb now supports reading read-only files and no longer
- Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.
writes the index file when it is not changed.
Windows
-------
- Issue #28896: Deprecate WindowsRegistryFinder
Tests
Tests
-----
-----
...
...
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