diff options
author | andrei kulakov <andrei.avk@gmail.com> | 2021-07-21 08:33:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 08:33:11 (GMT) |
commit | 64f54b7ccd49764b0304e076bfd79b5482988f53 (patch) | |
tree | 7c5440140342208f34dbced92b3b89075ef4d525 /Doc/library/shutil.rst | |
parent | 3b56b3b97d91e2b412ce1b2bcaddcd43ef3d223b (diff) | |
download | cpython-64f54b7ccd49764b0304e076bfd79b5482988f53.zip cpython-64f54b7ccd49764b0304e076bfd79b5482988f53.tar.gz cpython-64f54b7ccd49764b0304e076bfd79b5482988f53.tar.bz2 |
bpo-30511: Add note on thread safety to shutil.make_archive() (#26933)
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Doc/library/shutil.rst')
-rw-r--r-- | Doc/library/shutil.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index d5080da..11c6707 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -595,6 +595,10 @@ provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules. .. audit-event:: shutil.make_archive base_name,format,root_dir,base_dir shutil.make_archive + .. note:: + + This function is not thread-safe. + .. versionchanged:: 3.8 The modern pax (POSIX.1-2001) format is now used instead of the legacy GNU format for archives created with ``format="tar"``. |