Brett Cannon <br...@python.org> added the comment:

> 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?

Sure!

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

The problem is it will possibly vary from class to class. You can probably get 
pretty far with 
https://docs.python.org/3/library/importlib.html#importlib.util.spec_from_file_location
 or 
https://docs.python.org/3/library/importlib.html#importlib.util.spec_from_loader
 depending.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42134>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to