[issue9260] A finer grained import lock
Antoine Pitrou
report at bugs.python.org
Wed Jul 14 23:47:31 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> So changing the locking mechanism most likely won't break loaders
> because they are not using the current import lock anyway and so
> already have their own issues.
Are you sure they aren't using it implicitly?
In vanilla py3k, PyImport_ImportModuleLevel() takes the import lock
therefore it protects any inner code, including the various hooks.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9260>
_______________________________________
More information about the Python-bugs-list
mailing list