diff options
| author | Victor Stinner <vstinner@python.org> | 2023-08-29 15:46:46 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-29 15:46:46 (GMT) |
| commit | b62a76043e543fbb15cab7e9e8874a798bc600d2 (patch) | |
| tree | 7e3caf9f6817053aac8379da275d0d72766a6af7 /Python/optimizer.c | |
| parent | 7659128b9d7a30ddbcb063bc12e2ddb0f1f119e0 (diff) | |
| download | cpython-b62a76043e543fbb15cab7e9e8874a798bc600d2.zip cpython-b62a76043e543fbb15cab7e9e8874a798bc600d2.tar.gz cpython-b62a76043e543fbb15cab7e9e8874a798bc600d2.tar.bz2 | |
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.
Diffstat (limited to 'Python/optimizer.c')
0 files changed, 0 insertions, 0 deletions
