[issue9260] A finer grained import lock

Antoine Pitrou report at bugs.python.org
Wed Jul 14 22:03:40 CEST 2010


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

> That's why I said we should supply a context decorator (or function) which
> will handle the lock appropriately, taking the name of the module to import
> as an argument so the locking is fine-grained.

Ok, so what are you saying is that we can break compatibility for non
thread-safe import loaders which currently work fine?
(I have nothing against it, just trying to be sure we agree on the
implications)

----------

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


More information about the Python-bugs-list mailing list