Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants