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

PendingDeprecationWarning: the imp module is deprecated in favour of importlib #4

Open
voetsjoeba opened this issue May 18, 2016 · 1 comment

Comments

@voetsjoeba
Copy link

Under Python 3.4, importing the twofish module yields the following warning when developer warnings are enabled (e.g. when running unit tests through the unittest module):

PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  PendingDeprecationWarning)
@hugovk
Copy link

hugovk commented Apr 29, 2023

The imp module will be removed in Python 3.12:

python/cpython#98040
python/cpython#98573

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