8000 bpo-30511: Add note on thread safety to shutil.make_archive() by akulakov · Pull Request #26933 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-30511: Add note on thread safety to shutil.make_archive() #26933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add note on thread safety to make_archive()
  • Loading branch information
akulakov committed Jun 28, 2021
commit b66585bd40df19e37dd1244a4b5776eeeb7219f9
3 changes: 3 additions & 0 deletions Doc/library/shutil.rst
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,9 @@ 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"``.
Expand Down
0