← 返回首页
[3.11] gh-74696: Do not change the current working directory in shutil.make_archive() if possible (GH-93160) by miss-islington · Pull Request #94105 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

[3.11] gh-74696: Do not change the current working directory in shutil.make_archive() if possible (GH-93160)#94105

Merged
ambv merged 1 commit into
python:3.11from
miss-islington:backport-fda4b2f-3.11
Jun 22, 2022
Merged

[3.11] gh-74696: Do not change the current working directory in shutil.make_archive() if possible (GH-93160)#94105
ambv merged 1 commit into
python:3.11from
miss-islington:backport-fda4b2f-3.11

Conversation

Copy link
Copy Markdown
Contributor

It is no longer changed when create a zip or tar archive.

It is still changed for custom archivers registered with shutil.register_archive_format()
if root_dir is not None.

Co-authored-by: Éric merwok@netwok.org
Co-authored-by: Łukasz Langa lukasz@langa.pl
(cherry picked from commit fda4b2f)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

….make_archive() if possible (pythonGH-93160) It is no longer changed when create a zip or tar archive. It is still changed for custom archivers registered with shutil.register_archive_format() if root_dir is not None. Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit fda4b2f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

1 similar comment

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

1 similar comment

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

ambv merged commit c1bfff4 into python:3.11 Jun 22, 2022
miss-islington deleted the backport-fda4b2f-3.11 branch June 22, 2022 09:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Footer

© 2026 GitHub, Inc.