[issue9260] A finer grained import lock

Antoine Pitrou report at bugs.python.org
Thu Dec 29 00:18:02 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

New prototype with per-module import locks and deadlock avoidance.
When a deadlock due to threaded circular imports is detected, the offending import returns the partially constructed module object (as would happen in single-threaded mode).

Probably lacks a test and some cleanup.

----------
nosy: +neologix
versions: +Python 3.3 -Python 3.2
Added file: http://bugs.python.org/file24101/implock3.patch

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


More information about the Python-bugs-list mailing list