Issue #11016: Add C implementation of the stat module as _stat
diff --git a/Lib/stat.py b/Lib/stat.py
index 704adfe..0ea653b 100644
--- a/Lib/stat.py
+++ b/Lib/stat.py
@@ -147,3 +147,9 @@
         else:
             perm.append("-")
     return "".join(perm)
+
+# If available, use C implementation
+try:
+    from _stat import *
+except ModuleNotFoundError:
+    pass