gh-74696: Do not change the current working directory in shutil.make_archive() if possible by serhiy-storchaka · Pull Request #93160 · python/cpython · GitHub

github.com

Tin mới

serhiy-storchaka:shutil-make_archive-chdir

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

: Do not change the current working directory in shutil…

needs backport to 3.10

needs backport to 3.10

needs backport to 3.11

needs backport to 3.11

awaiting core review

awaiting core review

shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe) #74696

View reviewed changes

Add comments for _ARCHIVE_FORMATS and _UNPACK_FORMATS.

View reviewed changes

Update Lib/shutil.py

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Merge branch 'main' into shutil-make_archive-chdir

: Do not change the current working directory in shutil…

: Do not change the current working directory in shutil…

: Do not change the current working directory in shutil.make_…

: Do not change the current working directory in shutil.make_…

Revert 30935 defer bpo45162 to 312 (

emscripten-core/emscripten#17269

https://github.com/python/cpython/issue/89336

shutil.make_archive now fails with pathlib.Path object in Python 3.11.0b4 #94844

: shutil.make_archive(): restore select CPython <= 3.10.5 beh…

[3.12] gh-99203: shutil.make_archive(): restore select CPython <= 3.10.5 behavior (GH-99802) #107998

: shutil.make_archive(): restore select CPython <= 3.10…

: shutil.make_archive(): restore select CPython …

[3.11] gh-99203: shutil.make_archive(): restore select CPython <= 3.10.5 behavior (GH-99802) #107999

: shutil.make_archive(): restore select CPython <= 3.1…

: shutil.make_archive(): restore select CPython <= 3.1…