[issue23649] tarfile not re-entrant for multi-threading

Lars Gustäbel report at bugs.python.org
Mon Mar 16 08:08:01 CET 2015


Lars Gustäbel added the comment:

I agree with David that there is no need for tarfile to be thread-safe. There is nothing to be gained from distributing one TarFile object among multiple threads because it operates on a single resource which has to be accessed sequentially anyway. So, it seems best to me if we leave it like it is and let the user add locks around it as she/he sees fit.

----------

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


More information about the Python-bugs-list mailing list