From 1d8ca768a7e667bf9b09bf137357e256cc790f52 Mon Sep 17 00:00:00 2001 From: Tomas Roun Date: Sat, 3 May 2025 21:09:51 +0200 Subject: [PATCH] Add PyREPL import autocomplete to 'Whats New' --- Doc/whatsnew/3.14.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 1ebf6efffd0177..911b28d61802a4 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -2106,6 +2106,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 ```` 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 ========================