Eric Snow added the comment:

Yep.  In 2.7 and 3.2 the PyImport_ExecCodeModuleEx() function in 
Python/importlib.c returns the module found in sys.modules.  Here is a patch.  
I suppose this should be fixed in 2.7 as well.  Thoughts?

----------
keywords: +patch
stage:  -> patch review
Added file: http://bugs.python.org/file31289/reload_replaced_module.diff

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

Reply via email to