[issue13487] inspect.getmodule fails when module imports change sys.modules

Amaury Forgeot d'Arc report at bugs.python.org
Sun Nov 27 22:46:57 CET 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

You are certainly right, but I wonder how this can happen.
Are there modules which import something just by looking at them?
Or is is some race condition due to another running thread?

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list