[docs] [issue16194] imp.load_dynamic imports wrong module when called several times on a multi-module .so
report at bugs.python.org
Wed Oct 17 10:22:46 CEST 2012
Václav Šmilauer added the comment:
Yes, that's what I suggested at the end of msg172656 - including modulename in the key.
Brett, would it be OK if I make patch against 3.3 (or head, if you prefer) to key by (modulename,filename) for compiled modules?
I had a look at importlib.machinery.ExtensionFileLoader and it will suffer from the same issue.
Should I open a separate bug for the post-3.3 patch, and keep this as documentation bug for 2.7?
Python tracker <report at bugs.python.org>
More information about the docs