Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Provide feedback

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

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-33671: allow setting shutil.copyfile() bufsize globally#12016

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
methane merged 1 commit intopython:masterfromgiampaolo:shutil-copyfile-bufsize
Feb 24, 2019
Merged

bpo-33671: allow setting shutil.copyfile() bufsize globally#12016

methane merged 1 commit intopython:masterfromgiampaolo:shutil-copyfile-bufsize
Feb 24, 2019

Conversation

@giampaolo
Copy link
Contributor

@giampaologiampaolo commentedFeb 24, 2019
edited by bedevere-bot
Loading

Looking back atBPO-33671 / PR#7160: sincecopyfileobj() is used by allcopy* functions one may want to setfile.read() bufsize globally asshutil.COPY_BUFSIZE = .... This may be useful on Windows where bufsize defaults to 1 MiB. I decided not to documentshutil.COPY_BUFSIZE because I consider it a corner case.

https://bugs.python.org/issue33671

@giampaologiampaolo changed the titleBPO-33671: allow setting shutil.copyfile()'s file.read() bufsize globallybpo-33671: allow setting shutil.copyfile()'s file.read() bufsize globallyFeb 24, 2019
@methanemethane changed the titlebpo-33671: allow setting shutil.copyfile()'s file.read() bufsize globallybpo-33671: allow setting shutil.copyfile() bufsize globallyFeb 24, 2019
@methanemethane merged commit3b0abb0 intopython:masterFeb 24, 2019
@giampaologiampaolo deleted the shutil-copyfile-bufsize branchFebruary 25, 2019 14:51
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@vstinnervstinnerAwaiting requested review from vstinner

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@giampaolo@methane@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2026 Movatter.jp