gh-108638: Fix stat.filemode() when _stat is missing (#108639)
Change the pure Python implementation of stat.filemode() for unknown file type: use "?", as done by the _stat.filemode(). test_stat skips TestFilemodeCStat if the _stat extension is missing.
V
Victor Stinner committed
b62a76043e543fbb15cab7e9e8874a798bc600d2
Parent: 7659128
Committed by GitHub <noreply@github.com>
on 8/29/2023, 3:46:46 PM