8000 gh-67341: fix comment about windows link stat mapping by moreal · Pull Request #136049 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-67341: fix comment about windows link stat mapping #136049

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

moreal
Copy link
Contributor
@moreal moreal commented Jun 27, 2025

// Windows doesn't define S_IFLNK, but posixmodule.c maps

The above comment is written in 99d6135#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 commit, and posixmodule.c included such logic at that time.

The commit f2f373f which resolves #67341, moved the logic from posixmodule.c to fileutils.c.


This pull request includes only trivial changes but I've attached the GitHub issue number as a prefix, which I believe corresponds to Issue 23152 mentioned in the commit message. At the time, the contributors were using a separate tool outside of GitHub, so I thought it would be appropriate to match it with the bpo number listed in the issue description. Please let me know if there are any mistakes! Thank you.

@moreal moreal force-pushed the update-comment-latest branch from 46c1b85 to b64d3ae Compare June 27, 2025 16:32
@moreal moreal changed the title gh-67341: Update a comment in fileutils.h to latest gh-67341: fix comment about windows link stat mapping Jun 27, 2025
@ZeroIntensity
Copy link
Member

Hello, thanks for your interest in contributing! I see that your prior PR, #136027, was accepted, but please don't use that as a green light to make several PRs fixing comment typos. These generally fall under the umbrella of "cosmetic changes", which we try to avoid.

That said, this PR is already here, so we might as well use it. Are there any other comment fixes you would like to make? Let's do it all in one change, rather than many tiny changes; it's easier for us to handle from a review stance. After this one, please try to avoid sole comment changes. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fstat64 required on Windows
3 participants
0