[New-bugs-announce] [issue34353] stat's python implementation of filemode (fallback) doesn't behave like the C implementation

G report at bugs.python.org
Tue Aug 7 13:23:14 EDT 2018


New submission from G <gpery at protonmail.com>:

stat.py (Lib/stat.py)'s implementation of filemode doesn't account for socket-type files, while _stat (Modules/_stat.c) does, using S_IFSOCK.

----------
components: Library (Lib)
messages: 323248
nosy: gpery
priority: normal
severity: normal
status: open
title: stat's python implementation of filemode (fallback) doesn't behave like the C implementation
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34353>
_______________________________________


More information about the New-bugs-announce mailing list