Brett Cannon <br...@python.org> added the comment: So the import lock is to prevent trying to import the same module, right? If you are doing a reload, the module is basically already there. But what if you context switch while reloading? That would be bad as that would give you inconsistent state.
So it probably should hold the lock (unless I am off about what the import lock should truly be used for). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9247> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com