[issue26131] Raise ImportWarning when loader.load_module() is used

Brett Cannon report at bugs.python.org
Wed Dec 9 13:40:10 EST 2020


Brett Cannon <brett at python.org> added the comment:

What is "VendorImporter" (see the message of the ImportWarning)? That's not in the stdlib, so it looks like your system is injecting something via some `.pth` file or environment variable that doesn't define exec_module().

----------

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


More information about the Python-bugs-list mailing list