- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 33.3k
          gh-108765: fix comment about macro definitions in _stat.c post GH-108854
          #136027
        
          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
Conversation
      
        
              This comment was marked as resolved.
        
        
      
    
  This comment was marked as resolved.
_stat.c_stat.c to latest
      f0cfe18    to
    1fe7601      
    Compare
  
    
      
        
              This comment was marked as resolved.
        
        
      
    
  This comment was marked as resolved.
1fe7601    to
    88aeb4b      
    Compare
  
    _stat.c to latest_stat.c
      _stat.c_stat.c post GH-108854
      | @StanFromIreland In general, if the PR amends a previous PR, we can reuse the issue number of that PR (if there is one). | 
| I was considering that, I hesitated for a few minutes before applying the label... My reasoning was, the issue was quite broad and would not add much, but I guess it is good to do so anyway. I will do so in the future! | 
| For such PRs I usually add "post GH-*" in the title so that one can click on it as well. | 
…pythonGH-108854 (pythonGH-136027) (cherry picked from commit 0141e7f) Co-authored-by: Lee Dogeon <[email protected]>
| GH-136043 is a backport of this pull request to the 3.14 branch. | 
…pythonGH-108854 (pythonGH-136027) (cherry picked from commit 0141e7f) Co-authored-by: Lee Dogeon <[email protected]>
| GH-136044 is a backport of this pull request to the 3.13 branch. | 
This pull request only fixes a typo in the
_stat.cfile.Since #108854, the definitions of
S_ISDIR(),S_ISREG()andS_ISCHR(), as well as the part that includessys/stat.h, have moved fromInclude/pyport.htoInclude/fileutils.h. However the comment inModules/_stat.cstill refers toInclude/pyport.hso this pull request fixes it.As note, I didn't create and add an issue number because I think it is a trivial change. In the same context, I didn't think it was necessary to add NEWS as well.