[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading
Petr Viktorin
report at bugs.python.org
Fri Sep 4 12:10:09 CEST 2015
Petr Viktorin added the comment:
So, if I understand correctly, the problem is that the new imp.load_dynamic in 3.5.0b checks sys.modules, so if a module of the same name was loaded previously, it's only reloaded, skipping the create_module step.
This patch bypasses that check, so a new module is always loaded.
This brings this aspect of imp.load_dynamic to how it was in 3.4. However, I have no way to test if it fixes pywin32 or py2exe.
----------
keywords: +patch
Added file: http://bugs.python.org/file40352/issue24748.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24748>
_______________________________________
More information about the Python-bugs-list
mailing list