[issue21436] Consider leaving importlib.abc.Loader.load_module()

Sebastian Rittau report at bugs.python.org
Thu Nov 4 08:35:05 EDT 2021


Sebastian Rittau <srittau at rittau.biz> added the comment:

I would ask you to reconsider this. https://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path/67692#67692 is a highly active question on StackOverflow, and my answer basically provided me all the karma I got there. For users that don't have intimate insight in how importlib works, the code posted by Brett is completely non-obvious and I believe that a convenience method would be very useful.

----------

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


More information about the Python-bugs-list mailing list