James Salter added the comment:

This also affects py2exe, which dynamically generates stub .pyc loaders inside 
a ZIP which then load .pyd modules outside the ZIP with the same name.

Windows 8, x64, visual studio 2015 enterprise.

It is simple enough to work around by doing a del sys.modules[modname] prior to 
the load_dynamic call, but obviously this goes against the documented behaviour.

----------
nosy: +James Salter

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24748>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to