Skip to content

Using Python3, bpython only autocompletes packages, not modules #847

Closed

Description

@m0rgen

A simple example...

If I create a directory hierarchy like this:

./xyzzy
./xyzzy/__init__.py
./xyzzy/plugh
./xyzzy/plugh/__init__.py
./xyzzy/plugh/bar.py
./xyzzy/plugh/foo.py

Running bpython using python2.7.16 will successfully autocomplete "foo" and "bar", e.g. "from xyzzy.plugh." will show "foo" and "bar" in the autocomplete box. However, running bpython using python3.7.3 it will only autocomplete "xyzzy" or "xyzzy.plugh" (which are packages/directories), while "foo" and "bar" are modules/files.

Activity

  1. sebastinas commented on Oct 11, 2020

    @sebastinas
    Contributor

    This might be related to #835. Did you try with a version of bpython that has that fixed applied?

  2. added a commit that references this issue on Jan 9, 2021
  3. added this to the release-0.21 milestone on Jan 9, 2021
  4. added a commit that references this issue on Feb 25, 2026
    2c3cbd7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions