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

Appearance settings

Replace the imp module with importlib #791

Copy link
Copy link
@opensource-assist

Description

@opensource-assist
Issue body actions

The imp module is deprecated and will be removed in a future release. It should be replaced with the importlib module.
The only affected file in bpython is importcompletion.py

Here's the warning when run on my system:

/usr/local/lib/python3.9/site-packages/bpython/importcompletion.py:31: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.