Skip to content
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

Replace the imp module with importlib #791

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

@opensource-assist opensource-assist commented Jan 29, 2020

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 added a commit that referenced this issue Jan 29, 2020
@sebastinas
Copy link
Contributor

@sebastinas sebastinas commented Jan 29, 2020

Fix available in #792.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.