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

Václav Šmilauer report at bugs.python.org
Thu Oct 11 17:12:50 CEST 2012


Václav Šmilauer added the comment:

No, it is an old bug, since the behavior does something else than documented (http://docs.python.org/library/imp.html#imp.load_dynamic) and reasonably expected -- imp.load_dynamic("baz","foo.so") imports the "foo" module under some circumstances.

----------
type: enhancement -> behavior
versions: +Python 2.7 -Python 3.4

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


More information about the Python-bugs-list mailing list