[issue42134] Raise ImportWarning when falling back to find_module()

Miro Hrončok report at bugs.python.org
Thu Apr 8 04:35:17 EDT 2021


Miro Hrončok <miro at hroncok.cz> added the comment:

Brett, would you accept a PR that changes the changelog entry to contain the ".find_spec() not found; falling back to find_module()" message, for better search-ability? I needed to use grep + git blame to be able to find out what's going on.

Also, could you please explain how to migrate to find_spec() in https://docs.python.org/3.10/whatsnew/3.10.html#porting-to-python-3-10 ? I'd do that, but I don't know yet what is the proper way.

----------
nosy: +hroncok, vstinner

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42134>
_______________________________________


More information about the Python-bugs-list mailing list