[issue12680] cPickle.loads is not thread safe due to non-thread-safe imports
Sagiv Malihi
report at bugs.python.org
Tue Aug 9 12:44:05 CEST 2011
Sagiv Malihi <sagivmalihi at gmail.com> added the comment:
As I said - it certainly happenes on 3.2 (tested).
@pitrou - what you suggested will not work since the actual import will block on the import lock.
The optimization there is not needed, it's already implemented in __import__.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12680>
_______________________________________
More information about the Python-bugs-list
mailing list