Le Fri, 06 Sep 2013 17:08:28 +0200, Jesus Cea email@example.com a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
With importlib and other recent changes, what are the current details of "import lock"?. That is, the lock/locks held when Python code does "import", specially in the case of multithreading. Is that documented anywhere?
Quick summary here: http://docs.python.org/3/whatsnew/3.3.html#a-finer-grained-import-lock
Otherwise, I'm afraid the source code has the most information, e.g.: http://hg.python.org/cpython/file/1d88d04aade2/Lib/importlib/_bootstrap.py#l...