Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PyREPL: Do not show underscored modules by default during autocompletion #134215

Closed
Assignees
kevteg
Labels
easytopic-replRelated to the interactive shelltype-featureA feature request or enhancement
@tomasr8

Description

@tomasr8

Feature or enhancement

Proposal:

Attribute autocomplete in the new REPL does not show underscored names unless specifically asked for:

>>>classFoo:..._foo=2...foo=3...>>>Foo.<tab>Foo.fooFoo.mro()

Note that onlyFoo.foo is offered. To also getFoo._foo, we need to writeFoo._<tab>. We should do the same for the import autocomplete.
Currently it just shows all modules/submodules, including those starting with an underscore:

>>>fromimportlibimport<tab>_abc_bootstrap_externalmachineryreaderssimple_bootstrapabcmetadataresourcesutil

Please 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 shelltype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp