]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-69605: Add PyREPL import autocomplete feature to 'What's New' (#133358)
authorTomas R. <tomas.roun8@gmail.com>
Sun, 4 May 2025 11:22:42 +0000 (13:22 +0200)
committerGitHub <noreply@github.com>
Sun, 4 May 2025 11:22:42 +0000 (14:22 +0300)
Doc/whatsnew/3.14.rst

index 81581b30d2194b8c8a4b9dafa70d958afa5da3e4..4b5515900cad41d56e313b78a6fa6876fc3c58b9 100644 (file)
@@ -2213,6 +2213,12 @@ Others
   integer must implement either :meth:`~object.__int__` or
   :meth:`~object.__index__`. (Contributed by Mark Dickinson in :gh:`119743`.)
 
+* The default :term:`interactive` shell now supports import autocompletion.
+  This means that typing ``import foo`` and pressing ``<tab>`` will suggest
+  modules starting with ``foo``. Similarly, typing ``from foo import b`` will
+  suggest submodules of ``foo`` starting with ``b``. Note that autocompletion
+  of module attributes is not currently supported.
+  (Contributed by Tomas Roun in :gh:`69605`.)
 
 CPython Bytecode Changes
 ========================