https://github.com/python/cpython/commit/ec23e90082ffdedc7f0bdd2dfadfc4983ddc0712
commit: ec23e90082ffdedc7f0bdd2dfadfc4983ddc0712
branch: main
author: AN Long <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2024-01-11T09:43:35Z
summary:

gh-112419: Document removal of sys.meta_path's 'find_module' fallback (#112421)

Co-authored-by: Erlend E. Aasland <[email protected]>

files:
M Doc/library/sys.rst

diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 2426c37ccb1e0f..c371663934314a 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1268,10 +1268,13 @@ always available.
     .. versionchanged:: 3.4
 
         :term:`Module specs <module spec>` were introduced in Python 3.4, by
-        :pep:`451`. Earlier versions of Python looked for a method called
-        :meth:`!find_module`.
-        This is still called as a fallback if a :data:`meta_path` entry doesn't
-        have a :meth:`~importlib.abc.MetaPathFinder.find_spec` method.
+        :pep:`451`.
+
+    .. versionchanged:: 3.12
+
+        Removed the fallback that looked for a :meth:`!find_module` method
+        if a :data:`meta_path` entry didn't have a
+        :meth:`~importlib.abc.MetaPathFinder.find_spec` method.
 
 .. data:: modules
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to