[Python-Dev] Dealing with import lock deadlock in Import Hooks
victor.stinner at gmail.com
Mon Aug 12 11:01:50 CEST 2013
>I'm currently working on implementing Import Hooks (PEP302) with Python
> 2.7 to be able to import modules whose code is in ZODB. However, I have
> stumbled upon a widely known issue about import deadlock (...)
In Python 3.3, the import machinery has been rewritten (importlib is used
by default) and the import lock is now per module, no more global.
Backporting such huge change is difficult and risky.
Upgrading to Python 3.3 is more future proof and don't require to hack
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev