New submission from G <gp...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue34353>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to