Visitar URL original
Replace the Imp Module With Importlib in More Places · Issue #857 · bpython/bpython · GitHub
Skip to content

Replace the Imp Module With Importlib in More Places #857

Description

@StabbarN

Deprecated imp module is still being used.

I get a deprecation warning from bpython (version 0.20) with django-admin shell_plus (https://github.com/django-extensions/django-extensions)

.venv/lib/python3.7/site-packages/bpython/args.py:10: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

See https://github.com/bpython/bpython/blob/0.20-bugfix/bpython/args.py#L10

Similar issue #791 and PR #792

Activity

  1. self-assigned this
    on Oct 19, 2020
  2. added this to the release-0.21 milestone on Oct 19, 2020
  3. added a commit that references this issue on Feb 25, 2026
    b9f081c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions