This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: stat's python implementation of filemode (fallback) doesn't behave like the C implementation
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.8
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, gpery
Priority: normal Keywords: patch

Created on 2018-08-07 17:23 by gpery, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 8703 merged gpery, 2018-08-07 17:28
Messages (2)
msg323248 - (view) Author: G (gpery) * Date: 2018-08-07 17:23 (Lib/'s implementation of filemode doesn't account for socket-type files, while _stat (Modules/_stat.c) does, using S_IFSOCK.
msg323355 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2018-08-10 05:12
New changeset b92c526ed5da474694f89e29d82565f2a654c29b by Benjamin Peterson (GPery) in branch 'master':
closes bpo-34353: Add sockets to stat.filemode fallback python implementation. (GH-8703)
Date User Action Args
2022-04-11 14:59:04adminsetgithub: 78534
2018-08-10 05:12:12benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg323355

resolution: fixed
stage: patch review -> resolved
2018-08-07 17:28:48gperysetkeywords: + patch
stage: patch review
pull_requests: + pull_request8193
2018-08-07 17:23:14gperycreate