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

Sviatoslav Sydorenko report at bugs.python.org
Fri Dec 11 12:07:17 EST 2020


Sviatoslav Sydorenko <svyatoslav at sydorenko.org.ua> added the comment:

> What is "VendorImporter"

@brett.cannon `VendorImporter` is something comping from `pkg_resources`. Because of an entangled traceback and the fact that it dynamically injects a vendored copy of `six`, it's hard to spot. Here's an upstream issue I filed about this warning: https://github.com/pypa/setuptools/issues/2481.

----------
nosy: +webknjaz

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


More information about the Python-bugs-list mailing list