New submission from Antoine Pitrou <pit...@free.fr>: I am not sure this is important or now, but reload() (imp.reload() in 3.x) doesn't take the import lock when reloading:
$ echo 'import imp; print("lock held =", imp.lock_held())' > foo.py $ ./python -c 'import imp, foo; imp.reload(foo)' lock held = True lock held = False ---------- components: Interpreter Core messages: 110191 nosy: brett.cannon, ncoghlan, pitrou priority: normal severity: normal status: open title: imp.reload() doesn't take import lock type: behavior versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2 _______________________________________ 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