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

gh-133102: Remove unnecessary mention of os.fsync() from os.exec*() docs#133333

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

Open
zhangboyang wants to merge2 commits intopython:main
base:main
Choose a base branch
Loading
fromzhangboyang:main

Conversation

zhangboyang
Copy link

@zhangboyangzhangboyang commentedMay 3, 2025
edited by github-actionsbot
Loading

Before a process is replaced by os.exec*(), userspace buffers usually need to be flushed. However, it is not necessary to flush kernel buffers to disk using os.fsync(). Flushing userspace buffer to kernel, and flushing kernel buffer to disk, are two different things. In addition, os.fsync() is not applicable to pipes or sockets. This patch removes this confusing information.


📚 Documentation preview 📚:https://cpython-previews--133333.org.readthedocs.build/

Before a process is replaced by os.exec*(), userspace buffers usuallyneed to be flushed. However, it is not necessary to flush kernel buffersto disk using os.fsync(). Flushing userspace buffer to kernel, andflushing kernel buffer to disk, are two different things. In addition,os.fsync() is not applicable to pipes or sockets. This patch removesthis confusing information.
@python-cla-bot
Copy link

python-cla-botbot commentedMay 3, 2025
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ZeroIntensityZeroIntensityAwaiting requested review from ZeroIntensity

Assignees
No one assigned
Labels
awaiting reviewdocsDocumentation in the Doc dirskip news
Projects
Status: Todo
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@zhangboyang@ZeroIntensity

[8]ページ先頭

©2009-2025 Movatter.jp