cpython: 17d730d37b2f (original) (raw)

--- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -753,9 +753,6 @@ find and load modules. .. versionadded:: 3.3

- .. attribute:: path The path the finder will search in.

--- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -812,6 +812,3 @@ that may require changes to your code. working directory will also now have an absolute path, including when using -m with the interpreter (this does not influence when the path to a file is specified on the command-line). - -* :class:importlib.machinery.FileFinder no longer special-cases the empty string

--- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -1375,7 +1375,7 @@ class FileFinder: loaders.extend((suffix, loader) for suffix in suffixes) self._loaders = loaders # Base (directory) path

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -31,6 +31,9 @@ Core and Builtins Library ------- +- Issue #19410: Undo the special-casing removal of '' for

--- a/Python/importlib.h +++ b/Python/importlib.h @@ -2645,802 +2645,802 @@ const unsigned char _Py_M__importlib[] = 101,114,32,105,115,32,104,97,110,100,108,105,110,103,32,104, 97,115,32,98,101,101,110,32,109,111,100,105,102,105,101,100, 46,10,10,32,32,32,32,99,2,0,0,0,0,0,0,0,

};