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/sre_constants.py b/Lib/sre_constants.py
index 7aedab1..e14fa17 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -194,6 +194,12 @@
SRE_INFO_LITERAL = 2 # entire pattern is literal (given by prefix)
SRE_INFO_CHARSET = 4 # pattern starts with character from given set
+__all__ = locals().keys()
+for _i in range(len(__all__)-1,-1,-1):
+ if __all__[_i][0] == "_":
+ del __all__[_i]
+del _i
+
if __name__ == "__main__":
def dump(f, d, prefix):
items = d.items()