Skip to content

Replace the imp module with importlib #791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
opensource-assist opened this issue Jan 29, 2020 · 1 comment
Closed

Replace the imp module with importlib #791

opensource-assist opened this issue Jan 29, 2020 · 1 comment

Comments

@opensource-assist
Copy link

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
@sebastinas
Copy link
Contributor

Fix available in #792.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants