bottle icon indicating copy to clipboard operation
bottle copied to clipboard

Deprecation warning - imp module

Open floggle opened this issue 7 years ago • 3 comments

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

floggle avatar Jan 06 '18 10:01 floggle

+1

mohierf avatar Jun 12 '19 07:06 mohierf

This was solved in d1f2ab570d437184c025247a98ea4b6f3d5b8b6e.

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

n1ngu avatar Oct 25 '22 09:10 n1ngu

@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.

n1ngu avatar Oct 25 '22 14:10 n1ngu