-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
easytopic-replRelated to the interactive shellRelated to the interactive shelltype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
Attribute autocomplete in the new REPL does not show underscored names unless specifically asked for:
>>> class Foo:
... _foo = 2
... foo = 3
...
>>> Foo.<tab>
Foo.foo Foo.mro()Note that only Foo.foo is offered. To also get Foo._foo, we need to write Foo._<tab>. We should do the same for the import autocomplete.
Currently it just shows all modules/submodules, including those starting with an underscore:
>>> from importlib import <tab>
_abc _bootstrap_external machinery readers simple
_bootstrap abc metadata resources utilPlease don't pick up this issue, I'd like to reserve it for someone at the PyConUS sprints :)
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
easytopic-replRelated to the interactive shellRelated to the interactive shelltype-featureA feature request or enhancementA feature request or enhancement