https://github.com/python/cpython/commit/a8a2010c4a6c12246a1cd7a2fc3b4af54eddfffb commit: a8a2010c4a6c12246a1cd7a2fc3b4af54eddfffb branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2026-09-05T14:33:50+01:00 summary:
[3.15] gh-140870: Add PyREPL's module attributes import completion feature to What's New 3.15 (GH-156782) (#156945) gh-140870: Add PyREPL's module attributes import completion feature to What's New 3.15 (GH-156782) (cherry picked from commit 1a2e3a034df6074a900bd9f2cf23c5b164f5320b) Co-authored-by: Loïc Simon <[email protected]> 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 96e1bbb128772f8..54ffbf776262b86 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]
