changeset: 105656:6249350e654a branch: 3.6 user: Steve Dower date: Wed Dec 07 13:02:27 2016 -0800 files: Doc/library/importlib.rst Doc/using/windows.rst Doc/whatsnew/3.6.rst Misc/NEWS description: Issue #28896: Deprecate WindowsRegistryFinder (grafted from 25df9671663b5f8b1560d58d8842f9676f6dffc2) diff -r d6c8803c55b4 -r 6249350e654a Doc/library/importlib.rst --- a/Doc/library/importlib.rst Wed Dec 07 23:54:28 2016 -0800 +++ b/Doc/library/importlib.rst Wed Dec 07 13:02:27 2016 -0800 @@ -806,6 +806,10 @@ .. versionadded:: 3.3 + .. deprecated:: 3.6 + Use :mod:`site` configuration instead. Future versions of Python may + not enable this finder by default. + .. class:: PathFinder diff -r d6c8803c55b4 -r 6249350e654a Doc/using/windows.rst --- a/Doc/using/windows.rst Wed Dec 07 23:54:28 2016 -0800 +++ b/Doc/using/windows.rst Wed Dec 07 13:02:27 2016 -0800 @@ -823,6 +823,14 @@ * Adds ``pythonXX.zip`` as a potential landmark when directly adjacent 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 ================== diff -r d6c8803c55b4 -r 6249350e654a Doc/whatsnew/3.6.rst --- a/Doc/whatsnew/3.6.rst Wed Dec 07 23:54:28 2016 -0800 +++ b/Doc/whatsnew/3.6.rst Wed Dec 07 13:02:27 2016 -0800 @@ -1938,6 +1938,10 @@ been deprecated in previous versions of Python in favour of :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 ~~ diff -r d6c8803c55b4 -r 6249350e654a Misc/NEWS --- a/Misc/NEWS Wed Dec 07 23:54:28 2016 -0800 +++ b/Misc/NEWS Wed Dec 07 13:02:27 2016 -0800 @@ -2,6 +2,17 @@ Python News +++++++++++ +What's New in Python 3.6.0 release candidate 2 +============================================== + +*Release date: XXXX-XX-XX* + +Windows +------- + +- Issue #28896: Deprecate WindowsRegistryFinder + + What's New in Python 3.6.0 release candidate 1 ==============================================