[docs] [issue16194] imp.load_dynamic imports wrong module when called several times on a multi-module .so

Brett Cannon report at bugs.python.org
Thu Oct 11 18:45:48 CEST 2012


Brett Cannon added the comment:

The new functional equivalent is importlib.machinery.ExtensionFileLoader (http://docs.python.org/dev/py3k/library/importlib.html#importlib.machinery.ExtensionFileLoader), but underneath the hood it uses the same code as imp.load_dynamic() did.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16194>
_______________________________________


More information about the docs mailing list