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

Deprecation warning - imp module #1029

Open
floggle opened this issue Jan 6, 2018 · 3 comments
Open

Deprecation warning - imp module #1029

floggle opened this issue Jan 6, 2018 · 3 comments

Comments

@floggle
Copy link

floggle commented Jan 6, 2018

Python 3.6.3, Bottle 0.12.13:

File "bottle.py", line 38, in
import base64, cgi, email.utils, functools, hmac, imp, itertools, mimetypes,
File "..._libs\Python36\lib\imp.py", line 33, in
DeprecationWarning, stacklevel=2)
DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

@mohierf
Copy link

mohierf commented Jun 12, 2019

+1

@n1ngu
Copy link

n1ngu commented Oct 25, 2022

This was solved in d1f2ab5.

Not the best solution (using types.ModuleType instead of importlib.util.module_from_spec) but the DeprecationWarning should have vanished.

@n1ngu
Copy link

n1ngu commented Oct 25, 2022

@floggle activity ceased in 2019. I hope she's doing just fine, happily growing potatoes crops or alike.

Would a maintainer close this issue? @defnull sorry to bother you.

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

3 participants