https://github.com/python/cpython/commit/1a2e3a034df6074a900bd9f2cf23c5b164f5320b
commit: 1a2e3a034df6074a900bd9f2cf23c5b164f5320b
branch: main
author: Loïc Simon <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-09-04T15:58:12+01:00
summary:

gh-140870: Add PyREPL's module attributes import completion feature to What's 
New 3.15 (#156782)

Co-authored-by: Stan Ulbrych <[email protected]>

files:
M Doc/whatsnew/3.15.rst

diff --git a/Doc/whatsnew/3.15.rst b/Doc/whatsnew/3.15.rst
index 118d9b3e32b28f..4095058961b735 100644
--- a/Doc/whatsnew/3.15.rst
+++ b/Doc/whatsnew/3.15.rst
@@ -902,6 +902,13 @@ Default interactive shell
   <using-on-controlling-color>`.
   (Contributed by Antonio Cuni and Pablo Galindo in :gh:`130472`.)
 
+* Tab completion now suggests module attributes in ``from ... import`` 
statements.
+  Attributes can only be suggested once the module is imported, so
+  :term:`stdlib` modules are imported automatically, while for
+  other modules the completer offers to import them when :kbd:`Tab`
+  is pressed a second time.
+  (Contributed by Loïc Simon and Pablo Galindo in :gh:`140870`.)
+
 
 New 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