bunch more __all__ lists
also modified check_all function to suppress all warnings since they aren't
relevant to what this test is doing (allows quiet checking of regsub, for
instance)
diff --git a/Lib/stat.py b/Lib/stat.py
index 70750d8..f0ffabe 100644
--- a/Lib/stat.py
+++ b/Lib/stat.py
@@ -84,3 +84,9 @@
 S_IROTH = 00004
 S_IWOTH = 00002
 S_IXOTH = 00001
+
+__all__ = locals().keys()
+for _i in range(len(__all__)-1,-1,-1):
+    if __all__[_i][0] == "_":
+        del __all__[_i]
+del _i